Problem reported by Timothy C. Burt.
* floatfns.c (isfinite, isnan): Redefine unconditionally.
+2013-10-23 Paul Eggert <eggert@cs.ucla.edu>
+
+ Port to Solaris 10 and its bundled GCC.
+ Problem reported by Timothy C. Burt.
+ * floatfns.c (isfinite, isnan): Redefine unconditionally.
+
2013-10-21 Dmitry Antipov <dmantipov@yandex.ru>
Do not allow font caches to grow too large.
#include <math.h>
-#ifndef isfinite
-# define isfinite(x) ((x) - (x) == 0)
-#endif
-#ifndef isnan
-# define isnan(x) ((x) != (x))
-#endif
+/* 'isfinite' and 'isnan' cause build failures on Solaris 10 with the
+ bundled GCC in c99 mode. Work around the bugs with simple
+ implementations that are good enough. */
+#undef isfinite
+#define isfinite(x) ((x) - (x) == 0)
+#undef isnan
+#define isnan(x) ((x) != (x))
/* Check that X is a floating point number. */