Improving dosvm.c portability
Jukka Heinonen
jhei at iki.fi
Tue Apr 2 12:06:29 CST 2002
My previous patch to dosvm.c caused problems on
platforms that did not support DOS executables.
Changelog:
File compiles now even on platforms that do not support DOS VM.
Index: dosvm.c
===================================================================
RCS file: /home/wine/wine/dlls/winedos/dosvm.c,v
retrieving revision 1.15
diff -u -r1.15 dosvm.c
--- dosvm.c 1 Apr 2002 20:56:15 -0000 1.15
+++ dosvm.c 2 Apr 2002 17:56:17 -0000
@@ -684,9 +684,12 @@
TRACE("Initializing DOS memory structures\n");
DOSMEM_Init( TRUE );
DOSDEV_InstallDOSDevices();
+
+#ifdef MZ_SUPPORTED
event_notifier = CreateEventA(NULL, FALSE, FALSE, NULL);
if(!event_notifier)
ERR("Failed to create event object!\n");
+#endif
}
return TRUE;
--
Jukka Heinonen <http://www.iki.fi/jhei/>
More information about the wine-patches
mailing list