-/*
+/*
* float.h
* This file has no copyright assigned and is placed in the Public Domain.
* This file is a part of the mingw-runtime package.
* NOTE: GCC provides float.h, but it doesn't include the non-standard
* stuff for accessing the fp controller. We include_next the
* GCC-supplied header and just define the MS-specific extensions
- * here.
+ * here.
*
*/
-#include_next<float.h>
+#if defined(__GNUC__)
+#include <gcc_float.h>
+#elif defined(_MSC_VER)
+#include <msc_float.h>
+#else
+#error
+#endif
#ifndef _MINGW_FLOAT_H_
#define _MINGW_FLOAT_H_
-/* All the headers include this file. */
-#include <_mingw.h>
+#include <crtdefs.h>
/*
* Functions and definitions for controlling the FPU.
word to 0x37f (64 bit mantissa precison rather than 53 bit).
By default, the mingw version of _fpreset sets fp control as
per fninit. To use the MSVCRT.dll _fpreset, include CRT_fp8.o when
- building your application.
+ building your application.
*/
void __cdecl __MINGW_NOTHROW _fpreset (void);
void __cdecl __MINGW_NOTHROW fpreset (void);