summaryrefslogtreecommitdiff
path: root/numpy/numarray
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2007-04-06 20:19:47 +0000
committerTravis Oliphant <oliphant@enthought.com>2007-04-06 20:19:47 +0000
commiteb366f6ab30f1755fd22f2b8229930393a3bd372 (patch)
tree2cfb5f3fc0442e886433ea839b1ee04c19f01c89 /numpy/numarray
parent9d14fc91d8d12395719a257917c363cf91400962 (diff)
downloadnumpy-eb366f6ab30f1755fd22f2b8229930393a3bd372.tar.gz
Change defined(linux) to defined(__GLIBC__)
Diffstat (limited to 'numpy/numarray')
-rw-r--r--numpy/numarray/_capi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/numarray/_capi.c b/numpy/numarray/_capi.c
index 4f573638b..de4c4e508 100644
--- a/numpy/numarray/_capi.c
+++ b/numpy/numarray/_capi.c
@@ -224,7 +224,7 @@ static int int_dividebyzero_error(long value, long unused) {
}
/* Likewise for Integer overflows */
-#if defined(linux) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__)
+#if defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__)
#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__)
#include <fenv.h>
#elif defined(__CYGWIN__)
@@ -2937,7 +2937,7 @@ NA_checkFPErrors(void)
return retstatus;
}
-#elif defined(linux) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__)
+#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__)
#if defined(__GLIBC__) || defined(darwin) || defined(__MINGW32__)
#include <fenv.h>
#elif defined(__CYGWIN__)