Commit e7724ffc authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

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

parent eec7e0c7
...@@ -690,12 +690,9 @@ BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved ) ...@@ -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;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment