reactos/sdk/lib/crt
Timo Kreuzer 9efafd640f [CRT] Import wine exception handling code
The code is mostly unchanged. This includes the following changes:
* Move all wine code to crt/wine to keep it separated from our own code
* Add a minimal winternl.h
* Remove the asm macros from wine/config.h
* Include wine/asm.h where required
* Fix the names of the exported functions (GCC uses thiscall now and no wrappers are used anymore)
2020-02-09 15:56:30 +01:00
..
conio
direct
except [CRT] Import wine exception handling code 2020-02-09 15:56:30 +01:00
float
include [CRT] Import wine exception handling code 2020-02-09 15:56:30 +01:00
locale
math [SDK] Use HEX macro, like elsewhere in the file 2020-01-22 20:57:04 +01:00
mbstring
mem
misc
printf
process
search
setjmp
signal
startup
stdio [MSVCRT] Export __acrt_iob_func to fix GCC build with latest RosBE 2.2 (#1835) 2019-10-20 12:44:17 +02:00
stdlib
string [CRT] Only write to the output buffer when necessary in _strlwr. CORE-16667 2020-02-09 10:23:01 +01:00
sys_stat
time
wine [CRT] Import wine exception handling code 2020-02-09 15:56:30 +01:00
wstring
CMakeLists.txt
crt.cmake [CRT] Import wine exception handling code 2020-02-09 15:56:30 +01:00
libcntpr.cmake
moldname-msvcrt.def
msvcrtex.cmake [MSVCRT] Export __acrt_iob_func to fix GCC build with latest RosBE 2.2 (#1835) 2019-10-20 12:44:17 +02:00
oldnames-msvcrt.S
oldnames.cmake
precomp.h
README.txt

Big chunks of this CRT library are taken from Wine's msvcrt implementation,
you can find a list of synced files in README.WINE file.

Notes:
1. When syncing, omit MSVCRT_ prefix where possible, Wine has to keep this
because they are linking with *both* original crt, and ms crt implementation.
ReactOS has the only CRT, so no need to make distinct functions.
2. ReactOS compiles two versions of the CRT library, one for usermode
(called just "crt"), and one version for kernelmode usage (called "libcntpr").
In order to separate the code, you can use #ifdef _LIBCNT_ for libcntpr code.