From 8ff96f67a0b36079dd211d8a7cddb0262f489b33 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Thu, 21 Jan 2016 14:07:01 -0700 Subject: [PATCH] Revert "BLD: fix compilation on non glibc-Linuxes" --- numpy/core/src/private/npy_config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/numpy/core/src/private/npy_config.h b/numpy/core/src/private/npy_config.h index 4268f2982d77..eb9c1e19d342 100644 --- a/numpy/core/src/private/npy_config.h +++ b/numpy/core/src/private/npy_config.h @@ -70,8 +70,8 @@ #endif /* defined(_MSC_VER) && defined(__INTEL_COMPILER) */ -/* Disable broken glibc trig functions on linux */ -#if defined(__linux__) && defined(__GLIBC__) +/* Disable broken gnu trig functions on linux */ +#if defined(__linux__) && defined(__GNUC__) #if defined(HAVE_FEATURES_H) #include @@ -102,6 +102,6 @@ #endif #undef TRIG_OK -#endif /* defined(__linux__) && defined(__GLIBC__) */ +#endif /* defined(__linux__) && defined(__GNUC__) */ #endif