Enable all of DllMain(), even if if not MZ_SUPPORTED.

This commit is contained in:
Gerald Pfeifer 2003-06-27 19:41:10 +00:00 committed by Alexandre Julliard
parent eec7e0c734
commit e7724ffc65

View file

@ -690,12 +690,9 @@ BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved )
{
DOSVM_InitSegments();
#ifdef MZ_SUPPORTED
event_notifier = CreateEventA(NULL, FALSE, FALSE, NULL);
if(!event_notifier)
ERR("Failed to create event object!\n");
#endif
}
return TRUE;
}