mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 10:02:02 +00:00
[CRT] Use the original wine heap functions
This commit is contained in:
parent
cf40758d76
commit
c47506a5f4
2 changed files with 127 additions and 15 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue