This removes an #ifdef (thus enabling more code to be compiled on all platforms) _and_ gets rid of a compiler warning. What more could one want? ;-) Gerald ChangeLog: Enable all of DllMain(), even if if not MZ_SUPPORTED. Index: dosvm.c =================================================================== RCS file: /home/wine/wine/dlls/winedos/dosvm.c,v retrieving revision 1.42 diff -u -3 -p -r1.42 dosvm.c --- dosvm.c 24 Jun 2003 02:24:54 -0000 1.42 +++ dosvm.c 27 Jun 2003 06:59:44 -0000 @@ -690,12 +690,9 @@ BOOL WINAPI DllMain( HINSTANCE hinstDLL, { 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; }