[CRT] Fix _matherror and _setusermatherror

We previously used 2 different versions: one from wine and one from mingw-w64.
The former was used in msvcrt, the latter was statically compiled into the executable. When using MS libs, there is only one _matherr, which is statically linked into the executable and does nothing (it's not really a function for users to be called).
_setusermatherror should only exist in msvcrt and not statically, which wouldn't work at all.
This commit is contained in:
Timo Kreuzer 2021-07-24 18:13:06 +02:00
parent 486a4d93ed
commit da2a5673e7
8 changed files with 57 additions and 128 deletions

View file

@ -55,7 +55,6 @@ endif()
list(APPEND CRT_EXCEPT_SOURCE
${LIBCNTPR_EXCEPT_SOURCE}
except/matherr.c
except/stack.c
)