Function _fpreset() is declared in float.h.
---
 mingw-w64-crt/crt/crtexe.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/mingw-w64-crt/crt/crtexe.c b/mingw-w64-crt/crt/crtexe.c
index 7d5ba01ad0e9..94bad6aaff27 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
-- 
2.20.1



_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to