[CRT] Use the original wine heap functions

This commit is contained in:
Timo Kreuzer 2023-01-10 10:30:51 +02:00
parent cf40758d76
commit c47506a5f4
2 changed files with 127 additions and 15 deletions

View file

@ -5,6 +5,7 @@ extern int BlockEnvToEnvironA(void);
extern int BlockEnvToEnvironW(void);
extern void FreeEnvironment(char **environment);
extern BOOL msvcrt_init_heap(void);
extern void msvcrt_init_mt_locks(void);
extern void msvcrt_init_io(void);
@ -34,6 +35,9 @@ crt_process_init(void)
if (!msvcrt_init_tls())
return FALSE;
if (!msvcrt_init_heap())
return FALSE;
if (BlockEnvToEnvironA() < 0)
return FALSE;