summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/core/src/private/npy_config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/src/private/npy_config.h b/numpy/core/src/private/npy_config.h
index 4268f2982..eb9c1e19d 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 <features.h>
@@ -102,6 +102,6 @@
#endif
#undef TRIG_OK
-#endif /* defined(__linux__) && defined(__GLIBC__) */
+#endif /* defined(__linux__) && defined(__GNUC__) */
#endif