aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-numpy/numpy-1.10.0-musl.patch
blob: 36dec388f79d28560f09460cd9089a572a714ab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/numpy/core/src/private/npy_config.h.orig	2015-08-11 19:03:43.000000000 +0200
+++ b/numpy/core/src/private/npy_config.h	2015-10-08 08:20:25.489203036 +0200
@@ -71,7 +71,7 @@
 
 
 /* Disable broken gnu trig functions on linux */
-#if defined(__linux__) && defined(__GNUC__)
+#if defined(__linux__) && defined(__GLIBC__)
 
 #if defined(HAVE_FEATURES_H)
 #include <features.h>
@@ -96,6 +96,6 @@
 #endif
 #undef TRIG_OK
 
-#endif /* defined(__linux__) && defined(__GNUC__) */
+#endif /* defined(__linux__) && defined(__GLIBC__) */
 
 #endif