+Tue Feb 6 20:00:13 2007 Ben Pfaff <blp@gnu.org>
+
+ * misc.h [!HAVE_ISINF] (isinf): Define only if isinf is not
+ defined as a macro, because mingw seems to have the macro without
+ the function.
+ [!HAVE_ISNAN] (isnan): Ditto, for symmetry only.
+ [!AHVE_FINITE] (finite): Ditto, for symmetry only.
+
Tue Feb 6 19:58:46 2007 Ben Pfaff <blp@gnu.org>
* compiler.h (PRINTF_FORMAT): Use __printf__ instead of printf to
/* HUGE_VAL is traditionally defined as positive infinity, or
alternatively, DBL_MAX. */
-#if !HAVE_ISINF
+#if !HAVE_ISINF && !defined (isinf)
#define isinf(X) (fabs (X) == HUGE_VAL)
#endif
/* A Not a Number is not equal to itself. */
-#if !HAVE_ISNAN
+#if !HAVE_ISNAN && !defined (isnan)
#define isnan(X) ((X) != (X))
#endif
/* Finite numbers are not infinities or NaNs. */
-#if !HAVE_FINITE
+#if !HAVE_FINITE && !defined (finite)
#define finite(X) (!isinf (X) && !isnan (X))
#elif HAVE_IEEEFP_H
#include <ieeefp.h> /* Declares finite() under Solaris. */