diff options
author | Travis Oliphant <oliphant@enthought.com> | 2007-04-06 20:19:47 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2007-04-06 20:19:47 +0000 |
commit | eb366f6ab30f1755fd22f2b8229930393a3bd372 (patch) | |
tree | 2cfb5f3fc0442e886433ea839b1ee04c19f01c89 /numpy | |
parent | 9d14fc91d8d12395719a257917c363cf91400962 (diff) | |
download | numpy-eb366f6ab30f1755fd22f2b8229930393a3bd372.tar.gz |
Change defined(linux) to defined(__GLIBC__)
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/include/numpy/ufuncobject.h | 2 | ||||
-rw-r--r-- | numpy/numarray/_capi.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/include/numpy/ufuncobject.h b/numpy/core/include/numpy/ufuncobject.h index 209b35656..9906096e6 100644 --- a/numpy/core/include/numpy/ufuncobject.h +++ b/numpy/core/include/numpy/ufuncobject.h @@ -276,7 +276,7 @@ typedef struct _loop1d_info { (void) fpsetsticky(0); \ } -#elif defined(linux) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__) +#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__) #if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__) #include <fenv.h> 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__) |