File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 70
70
<
8000
span class=pl-k>#endif /* defined(_MSC_VER) && defined(__INTEL_COMPILER) */
71
71
72
72
73
- /* Disable broken gnu trig functions on linux */
74
- #if defined(__linux__ ) && defined(__GNUC__ )
75
-
73
+ /* Disable broken gnu trig functions */
76
74
#if defined(HAVE_FEATURES_H )
77
75
#include <features.h>
78
- #define TRIG_OK __GLIBC_PREREQ(2, 16)
79
- #else
80
- #define TRIG_OK 0
81
- #endif
82
76
83
- #if !TRIG_OK
77
+ #if defined(__GLIBC__ )
78
+ #if !__GLIBC_PREREQ (2 , 16 )
79
+
84
80
#undef HAVE_CASIN
85
81
#undef HAVE_CASINF
86
82
#undef HAVE_CASINL
99
95
#undef HAVE_CACOSH
100
96
#undef HAVE_CACOSHF
101
97
#undef HAVE_CACOSHL
102
- #endif
103
- #undef TRIG_OK
104
98
105
- #endif /* defined(__linux__) && defined(__GNUC__) */
99
+ #endif /* __GLIBC_PREREQ(2, 16) */
100
+ #endif /* defined(__GLIBC_PREREQ) */
101
+
102
+ #endif /* defined(HAVE_FEATURES_H) */
106
103
107
104
#endif
You can’t perform that action at this time.
0 commit comments