mirror of
https://github.com/reactos/reactos.git
synced 2025-06-16 15:19:26 +00:00
[VCRUNTIME][VCSTARTUP] Add separate vcruntime and vcstartup lib
vcruntime contains the code that is linked into ucrtbase (in VS it is also provided as vcruntime140.dll) vcstartup contains the code that is statically linked into executables that link to ucrtbase.dll. In Visual Studio this is part of msvcrt.lib (the import library for msvcrt), similar to our current msvcrtex, and it gets linked when you link to ucrtbase as well. The name is based on the folder name in the library. Both libraries share some code, but each file is only compiled once.
This commit is contained in:
parent
2b2bdabe72
commit
9186b861a6
21 changed files with 79 additions and 26 deletions
17
sdk/lib/vcruntime/__scrt_uninitialize_crt.cpp
Normal file
17
sdk/lib/vcruntime/__scrt_uninitialize_crt.cpp
Normal file
|
@ -0,0 +1,17 @@
|
|||
//
|
||||
// __scrt_uninitialize_crt.c
|
||||
//
|
||||
// Copyright (c) 2024 Timo Kreuzer
|
||||
//
|
||||
// Implementation of __scrt_uninitialize_crt.
|
||||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
//
|
||||
|
||||
extern "C"
|
||||
bool
|
||||
__cdecl
|
||||
__scrt_uninitialize_crt(bool is_terminating, bool from_exit)
|
||||
{
|
||||
return true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue