crt: exe: Remove custom declaration of _fpreset() function Function _fpreset() is declared in float.h. Signed-off-by: Martin Storsjö <martin@martin.st>
diff --git a/mingw-w64-crt/crt/crtexe.c b/mingw-w64-crt/crt/crtexe.c index 7d5ba01..94bad6a 100644 --- a/mingw-w64-crt/crt/crtexe.c +++ b/mingw-w64-crt/crt/crtexe.c
@@ -13,6 +13,7 @@ #include <tchar.h> #include <sect_attribs.h> #include <locale.h> +#include <float.h> #include <corecrt_startup.h> #if defined(__SEH__) && (!defined(__clang__) || __clang_major__ >= 7) @@ -21,8 +22,6 @@ extern IMAGE_DOS_HEADER __ImageBase; -extern void _fpreset (void); - int *__cdecl __p__commode(void); #undef _fmode