--- dlls/ntdll/loader.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c index a5b86f289f47..d9ede19e4ea2 100644 --- a/dlls/ntdll/loader.c +++ b/dlls/ntdll/loader.c @@ -4485,6 +4485,7 @@ void __wine_process_init(void) INITIAL_TEB stack; BOOL suspend; SIZE_T info_size; + ULONG hci = HEAP_LFH; TEB *teb = thread_init(); PEB *peb = teb->Peb;
@@ -4494,6 +4495,7 @@ void __wine_process_init(void)
peb->ProcessHeap = RtlCreateHeap( HEAP_GROWABLE, NULL, 0, 0, NULL, NULL ); peb->LoaderLock = &loader_section; + RtlSetHeapInformation( peb->ProcessHeap, HeapCompatibilityInformation, &hci, sizeof(hci) );
init_unix_codepage(); init_directories();