summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun/src/math.h')
-rw-r--r--lib/msun/src/math.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h
index 92dfd23..82c8559 100644
--- a/lib/msun/src/math.h
+++ b/lib/msun/src/math.h
@@ -34,11 +34,11 @@ extern const union __nan_un {
float __uf;
} __nan;
-#if (defined(__GNUC__) && __GNUC__ >= 3) || defined(__INTEL_COMPILER)
+#if (defined(__GNUC__) && ((__GNUC__ >= 3 && __GNUC_MINOR__ >= 3) || __GNUC__ >= 4)) || defined(__INTEL_COMPILER)
#define __MATH_BUILTIN_CONSTANTS
#endif
-#if (defined(__GNUC__) && __GNUC__ >= 3)
+#if (defined(__GNUC__) && __GNUC__ >= 3 && !defined(__INTEL_COMPILER))
#define __MATH_BUILTIN_RELOPS
#endif
OpenPOWER on IntegriCloud