summaryrefslogtreecommitdiff
path: root/numpy/numarray/_capi.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2007-04-05 16:05:45 +0000
committerTravis Oliphant <oliphant@enthought.com>2007-04-05 16:05:45 +0000
commit9e17a29335f0ce11c80bbedab53df3fe293d67f7 (patch)
treee16fc9fa93b74af4d1129b55a5b01b8e01a3e7cc /numpy/numarray/_capi.c
parentcca1f4916cfb74f913bd8b291d752c9e1567d1a7 (diff)
downloadnumpy-9e17a29335f0ce11c80bbedab53df3fe293d67f7.tar.gz
Include fenv.h the second time for CYGWIN. Change a few defines.
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