diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-10-16 18:45:24 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-10-16 18:45:24 +0000 |
commit | 5eceb3958ee6cb42d57d4fe52dd76fb03b178edf (patch) | |
tree | fcddcedf0dc6b3aab54a8f7e85d619e574aa0e11 /newlib/libc/include/math.h | |
parent | 71c13b96338eeb7021c211c1819cba700e85b61c (diff) | |
download | cygnal-5eceb3958ee6cb42d57d4fe52dd76fb03b178edf.tar.gz cygnal-5eceb3958ee6cb42d57d4fe52dd76fb03b178edf.tar.bz2 cygnal-5eceb3958ee6cb42d57d4fe52dd76fb03b178edf.zip |
* libc/include/sys/features.h (__GNUC_PREREQ): Define. Use
throughout in place of explicit GNUC version checks.
* libc/include/_ansi.h (_NOINLINE): Define.
(_NOINLINE_STATIC): Define.
* libc/stdio/vfprintf.c (__sbprintf): Define _NOINLINE_STATIC.
Diffstat (limited to 'newlib/libc/include/math.h')
-rw-r--r-- | newlib/libc/include/math.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h index 9e6041487..e9328c55a 100644 --- a/newlib/libc/include/math.h +++ b/newlib/libc/include/math.h @@ -34,10 +34,7 @@ union __ldmath /* Natural log of 2 */ #define _M_LN2 0.693147180559945309417 -#if defined(__GNUC__) && \ - ( (__GNUC__ >= 4) || \ - ( (__GNUC__ >= 3) && defined(__GNUC_MINOR__) && (__GNUC_MINOR__ >= 3) ) ) - +#if __GNUC_PREREQ (3, 3) /* gcc >= 3.3 implicitly defines builtins for HUGE_VALx values. */ # ifndef HUGE_VAL |