Compiles now even on platforms that do not support DOS VM.

This commit is contained in:
Jukka Heinonen 2002-04-02 19:20:12 +00:00 committed by Alexandre Julliard
parent 4e589cd171
commit 0c80289492
1 changed files with 3 additions and 0 deletions

View File

@ -684,9 +684,12 @@ BOOL WINAPI DOSVM_Init( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved
TRACE("Initializing DOS memory structures\n"); TRACE("Initializing DOS memory structures\n");
DOSMEM_Init( TRUE ); DOSMEM_Init( TRUE );
DOSDEV_InstallDOSDevices(); DOSDEV_InstallDOSDevices();
#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;