Only create the shared heap when Windows version is Win9x.

This commit is contained in:
Alexandre Julliard 2004-05-25 05:08:28 +00:00
parent 7ee8adfd39
commit 7163000df8
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ static BOOL process_attach(void)
}
/* Create the shared heap for broken win95 native dlls */
HeapCreate( HEAP_SHARED, 0, 0 );
if (GetVersion() & 0x80000000) HeapCreate( HEAP_SHARED, 0, 0 );
/* initialize LDT locking */
wine_ldt_init_locking( ldt_lock, ldt_unlock );