diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2016-01-21 12:56:56 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2016-01-21 12:56:56 -0700 |
commit | f970038ffd723d6d69a7749582a8345c7f8ee61c (patch) | |
tree | 93d24fc1f2b098d0d136a6bf041e3a99b109e726 | |
parent | 62942fbc078d4e1af8728ecbb0120effdde5c9d2 (diff) | |
parent | 8c84718365c073fb5ea84e7d3c05fa72bc5c5698 (diff) | |
download | numpy-f970038ffd723d6d69a7749582a8345c7f8ee61c.tar.gz |
Merge pull request #7087 from xdmiodz/musl-build
BLD: fix compilation on non glibc-Linuxes
-rw-r--r-- | numpy/core/src/private/npy_config.h | 6 |
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 eb9c1e19d..4268f2982 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 gnu trig functions on linux */ -#if defined(__linux__) && defined(__GNUC__) +/* Disable broken glibc trig functions on linux */ +#if defined(__linux__) && defined(__GLIBC__) #if defined(HAVE_FEATURES_H) #include <features.h> @@ -102,6 +102,6 @@ #endif #undef TRIG_OK -#endif /* defined(__linux__) && defined(__GNUC__) */ +#endif /* defined(__linux__) && defined(__GLIBC__) */ #endif |