[CRT] Add round and roundf and add it to msvcrtex to make clang v14 happy

This commit is contained in:
Timo Kreuzer 2022-07-15 18:51:20 +02:00
parent 83faa2da5e
commit bc9409daba
4 changed files with 37 additions and 0 deletions

View file

@ -13,6 +13,8 @@ list(APPEND MSVCRTEX_SOURCE
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
# Clang performs some optimizations requiring those funtions
list(APPEND MSVCRTEX_SOURCE
math/round.c
math/roundf.c
math/exp2.c
math/exp2f.c
)