summaryrefslogtreecommitdiff
path: root/numpy/numarray/_capi.c
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/numarray/_capi.c')
-rw-r--r--numpy/numarray/_capi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/numpy/numarray/_capi.c b/numpy/numarray/_capi.c
index a2ca326a7..4f573638b 100644
--- a/numpy/numarray/_capi.c
+++ b/numpy/numarray/_capi.c
@@ -2937,12 +2937,11 @@ NA_checkFPErrors(void)
return retstatus;
}
-#elif defined(linux) || defined(darwin) || defined(__CYGWIN__)
-
+#elif defined(linux) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__)
#if defined(__GLIBC__) || defined(darwin) || defined(__MINGW32__)
#include <fenv.h>
#elif defined(__CYGWIN__)
-#include "numpy/fenv/fenv.c"
+#include "numpy/fenv/fenv.h"
#endif
static int