summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2016-01-21 14:07:01 -0700
committerCharles Harris <charlesr.harris@gmail.com>2016-01-21 14:07:01 -0700
commit8ff96f67a0b36079dd211d8a7cddb0262f489b33 (patch)
tree88f82a9e19a8805a85d9be6b9df6c17f98a48751
parentf970038ffd723d6d69a7749582a8345c7f8ee61c (diff)
downloadnumpy-revert-7087-musl-build.tar.gz
Revert "BLD: fix compilation on non glibc-Linuxes"revert-7087-musl-build
-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