Explorar o código

provide fegetround & family functions on win64

Jameson Nash %!s(int64=11) %!d(string=hai) anos
pai
achega
a076418c8b
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      amd64/fenv.c

+ 3 - 1
amd64/fenv.c

@@ -29,7 +29,9 @@
 #include "bsd_fpu.h"
 #include "math_private.h"
 
-#define _fenv_static
+#ifdef _WIN32
+#define __fenv_static
+#endif
 #include "fenv.h"
 
 #ifdef __GNUC_GNU_INLINE__