(HUGE_VAL): Add #undef before HUGE_VAL
authorJim Wilson <wilson@gcc.gnu.org>
Tue, 28 Sep 1993 22:40:30 +0000 (15:40 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 28 Sep 1993 22:40:30 +0000 (15:40 -0700)
define, instead of surrounding it with #ifndef/#endif.

From-SVN: r5508

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

index 0edd8d67915e257c6228033fd1e658f33cb0c851..4e7012579952e8301cf8a915b2bf351efadca696 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 ff06490992e20a6ef3f9b74d34c76d9ae6d376b8..2c183f755e17e13fd01d7a428e0db2304fc7b3de 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)