mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 18:43:30 +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
|
@ -31,7 +31,10 @@ list(APPEND VCRT_RUNTIME_SOURCES
|
|||
)
|
||||
|
||||
list(APPEND VCRT_STARTUP_SOURCES
|
||||
__acrt_initialize_stub.cpp
|
||||
__scrt_uninitialize_crt.cpp
|
||||
mainCRTStartup.cpp
|
||||
wmainCRTStartup.cpp
|
||||
)
|
||||
|
||||
if(${ARCH} STREQUAL "i386")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue