OSDN Git Service

(HUGE_VAL): Add #undef before HUGE_VAL
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Sep 1993 22:40:30 +0000 (22:40 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Sep 1993 22:40:30 +0000 (22:40 +0000)
define, instead of surrounding it with #ifndef/#endif.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5508 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ginclude/math-3300.h
gcc/ginclude/math-68881.h

index 0edd8d6..4e70125 100644 (file)
@@ -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)
 {
index ff06490..2c183f7 100644 (file)
    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)