summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2004-07-16 06:21:56 +0000
committerDavid Schultz <das@FreeBSD.org>2004-07-16 06:21:56 +0000
commit205d3300b85f7e477fa5ee10c0ec91f034d79e6f (patch)
treea80f79cace8d3b21752745f733636032719624ce /lib
parent507e8f1644e1cedddcd381cb9fa2fffa13c95bc1 (diff)
Notes
Diffstat (limited to 'lib')
-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 92dfd23cedf1..82c8559554db 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