Math: Unicode merge made MinGW build crash again (Bug#2835731), adding fix back in

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6169 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2011-11-09 18:24:27 +00:00
parent cf4e5cf132
commit a37905cc0c

View file

@ -1554,7 +1554,7 @@ void CleanAll(int init)
}
}
BOOL WINAPI DllMain(HINSTANCE hInst, ULONG ul_reason_for_call, LPVOID lpReserved)
extern "C" BOOL WINAPI DllMain(HINSTANCE hInst, ULONG ul_reason_for_call, LPVOID lpReserved)
{
g_hInstance = hInst;
CleanAll(ul_reason_for_call == DLL_PROCESS_ATTACH);