[CRT] Fix _fmode

Remove mingw-w64 version of _fmode. _fmode should not be linked directly into the executable. Instead, the export from msvcrt should be used. On Windows 10 it's defined to *__p__fmode(), which is exported from ucrtbase.dll
Also _fmode in msvcrt.dll is initialized with 0.
This commit is contained in:
Timo Kreuzer 2021-07-24 16:27:43 +02:00
parent 296e07b94d
commit 950e814377
4 changed files with 1 additions and 16 deletions

View file

@ -15,7 +15,6 @@ list(APPEND MSVCRTEX_SOURCE
startup/charmax.c
startup/atonexit.c
startup/dllmain.c
startup/txtmode.c
startup/pesect.c
startup/tlsmcrt.c
startup/tlsthrd.c