From e369c79ca08bc49202dc9d79c64e21b00b6b689d Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 24 Oct 2020 23:21:22 +0000 Subject: Remove intel compiler support from math.h The intel compiler support has badly decayed over the years. Stop pretending that we support it. Note, I've stopped short of requiring gcc builtin support with this commit since other compilers may be used to build non-base software and we need to support those so more investigation is needed before simplifying further. --- lib/msun/src/math.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/msun') diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h index 6ce45cbb5280..fee69498708a 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 __GNUC_PREREQ__(3, 3) || (defined(__INTEL_COMPILER) && __INTEL_COMPILER >= 800) +#if __GNUC_PREREQ__(3, 3) #define __MATH_BUILTIN_CONSTANTS #endif -#if __GNUC_PREREQ__(3, 0) && !defined(__INTEL_COMPILER) +#if __GNUC_PREREQ__(3, 0) #define __MATH_BUILTIN_RELOPS #endif -- cgit v1.2.3