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.
This commit is contained in:
Warner Losh 2020-10-24 23:21:22 +00:00
parent f90045602b
commit e369c79ca0

View File

@ -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