mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 17:00:51 +08:00
[UCRT:VCRUNTIME] Implement vcruntime init stubs
This commit is contained in:
36
sdk/lib/ucrt/vcruntime/__vcrt_init.c
Normal file
36
sdk/lib/ucrt/vcruntime/__vcrt_init.c
Normal file
@@ -0,0 +1,36 @@
|
||||
//
|
||||
// __vcrt_init.c
|
||||
//
|
||||
// Copyright (c) 2024 Timo Kreuzer
|
||||
//
|
||||
// Implementation of vcruntime initialization and termination functions.
|
||||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
//
|
||||
|
||||
#include <vcruntime_startup.h>
|
||||
|
||||
__vcrt_bool __cdecl __vcrt_initialize(void)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
__vcrt_bool __cdecl __vcrt_uninitialize(_In_ __vcrt_bool _Terminating)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
__vcrt_bool __cdecl __vcrt_uninitialize_critical(void)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
__vcrt_bool __cdecl __vcrt_thread_attach(void)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
__vcrt_bool __cdecl __vcrt_thread_detach(void)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
@@ -3,6 +3,7 @@ list(APPEND UCRT_VCRUNTIME_SOURCES
|
||||
vcruntime/__report_gsfailure.c
|
||||
vcruntime/__report_rangecheckfailure.c
|
||||
vcruntime/__security_init_cookie.c
|
||||
vcruntime/__vcrt_init.c
|
||||
)
|
||||
|
||||
if(${ARCH} STREQUAL "i386")
|
||||
|
||||
Reference in New Issue
Block a user