[UCRTSUPPORT] Add ucrtsupport library

This library is compiled from our old CRT sources to supplement missing UCRT code.
This commit is contained in:
Timo Kreuzer 2024-10-22 00:07:12 +03:00
parent 82ef7b5df1
commit d74ab36324
4 changed files with 37 additions and 4 deletions

View file

@ -2,9 +2,11 @@
include_directories(libm_sse2)
list(APPEND LIBCNTPR_MATH_SOURCE
math/_chgsignf.c
math/_invoke_matherr.c
math/abs.c
math/div.c
math/exp2f.c
math/labs.c
math/sincos.c
)
@ -55,6 +57,9 @@ if(ARCH STREQUAL "i386")
math/i386/fmod_asm.s
math/i386/fmodf_asm.s
)
list(APPEND CRT_MATH_SOURCE
math/_hypotf.c
)
elseif(ARCH STREQUAL "amd64")
list(APPEND LIBCNTPR_MATH_SOURCE
math/amd64/_set_statfp.c
@ -204,7 +209,6 @@ endif()
if(NOT ARCH STREQUAL "i386")
list(APPEND CRT_MATH_SOURCE
math/_chgsignf.c
math/_copysignf.c
math/log10f.c
math/stubs.c
@ -217,6 +221,7 @@ if(NOT ARCH STREQUAL "amd64")
math/asin.c
math/cosh.c
math/cosf.c
math/exp2.c
math/hypot.c
math/modf.c
math/s_modf.c