diff --git a/numpy/core/src/private/npy_config.h b/numpy/core/src/private/npy_config.h index eb9c1e19d342..4268f2982d77 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 @@ -102,6 +102,6 @@ #endif #undef TRIG_OK -#endif /* defined(__linux__) && defined(__GNUC__) */ +#endif /* defined(__linux__) && defined(__GLIBC__) */ #endif