diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1993-09-28 15:40:30 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1993-09-28 15:40:30 -0700 |
commit | 6396c3f61cefceb104c2dad0fc246898c90d9f92 (patch) | |
tree | b33bc3f3e0613cab14f5fc4ca915b95762fe5857 | |
parent | c3341e3b3792102d32a14f47c6c638f3e504e4e8 (diff) | |
download | gcc-6396c3f61cefceb104c2dad0fc246898c90d9f92.zip gcc-6396c3f61cefceb104c2dad0fc246898c90d9f92.tar.gz gcc-6396c3f61cefceb104c2dad0fc246898c90d9f92.tar.bz2 |
(HUGE_VAL): Add #undef before HUGE_VAL
define, instead of surrounding it with #ifndef/#endif.
From-SVN: r5508
-rw-r--r-- | gcc/ginclude/math-3300.h | 3 | ||||
-rw-r--r-- | gcc/ginclude/math-68881.h | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ginclude/math-3300.h b/gcc/ginclude/math-3300.h index 0edd8d6..4e70125 100644 --- a/gcc/ginclude/math-3300.h +++ b/gcc/ginclude/math-3300.h @@ -21,7 +21,7 @@ #include <errno.h> -#ifndef HUGE_VAL +#undef HUGE_VAL #define HUGE_VAL \ ({ \ double huge_val; \ @@ -31,7 +31,6 @@ : /* no inputs */); \ huge_val; \ }) -#endif __inline static const double sin (double x) { diff --git a/gcc/ginclude/math-68881.h b/gcc/ginclude/math-68881.h index ff06490..2c183f7 100644 --- a/gcc/ginclude/math-68881.h +++ b/gcc/ginclude/math-68881.h @@ -33,12 +33,15 @@ December 1989, add parens around `&' in pow. November 1990, added alternate definition of HUGE_VAL for Sun. */ +/* Changed by Jim Wilson: + September 1993, Use #undef before HUGE_VAL instead of #ifdef/#endif. */ + #ifndef __math_68881 #define __math_68881 #include <errno.h> -#ifndef HUGE_VAL +#undef HUGE_VAL #ifdef __sun__ /* The Sun assembler fails to handle the hex constant in the usual defn. */ #define HUGE_VAL \ @@ -57,7 +60,6 @@ huge_val; \ }) #endif -#endif __inline static const double sin (double x) |