Call the same DllMain for debug and release builds

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3133 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-11-12 20:24:53 +00:00
parent c630474864
commit f915329242
24 changed files with 137 additions and 153 deletions

View file

@ -112,7 +112,7 @@ void SetTransparentRegion(HWND myWnd)
GlobalFree(bmp);
}
BOOL WINAPI _DllMainCRTStartup(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved)
BOOL WINAPI DllMain(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved)
{
g_hInstance=hInst;
return TRUE;
@ -274,12 +274,6 @@ void __declspec(dllexport) show(HWND hwndParent, int string_size, char *variable
pushstring(temp);
}
#ifdef _DEBUG
void main()
{
}
#endif
int myatoi(char *s)
{
unsigned int v=0;