mirror of
https://github.com/reactos/reactos.git
synced 2025-06-22 11:10:52 +00:00
[VCSTARTUP] Implement (w)mainCRTStartup
__acrt_initialize is here as a stub to later support linking ucrt statically. When it is statically linked the real function should be called, but when the executable links to ucrtdll, the initialization happens when the DLL is loaded, so we call a stub here.
This commit is contained in:
parent
d243b6cdf3
commit
a978879ddb
5 changed files with 136 additions and 0 deletions
8
sdk/lib/vcruntime/__acrt_initialize_stub.cpp
Normal file
8
sdk/lib/vcruntime/__acrt_initialize_stub.cpp
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
#include <internal_shared.h>
|
||||
|
||||
extern "C"
|
||||
__crt_bool __cdecl __acrt_initialize()
|
||||
{
|
||||
return true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue