PATCH: dlls/winedos/dosvm.c simplification

Gerald Pfeifer pfeifer at dbai.tuwien.ac.at
Fri Jun 27 02:02:24 CDT 2003


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;
 }



More information about the wine-patches mailing list