Enable all of DllMain(), even if if not MZ_SUPPORTED.
This commit is contained in:
parent
eec7e0c734
commit
e7724ffc65
|
@ -690,12 +690,9 @@ BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved )
|
||||||
{
|
{
|
||||||
DOSVM_InitSegments();
|
DOSVM_InitSegments();
|
||||||
|
|
||||||
#ifdef MZ_SUPPORTED
|
|
||||||
event_notifier = CreateEventA(NULL, FALSE, FALSE, NULL);
|
event_notifier = CreateEventA(NULL, FALSE, FALSE, NULL);
|
||||||
if(!event_notifier)
|
if(!event_notifier)
|
||||||
ERR("Failed to create event object!\n");
|
ERR("Failed to create event object!\n");
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue