ossp-pkg/str/str_format.c 1.23 -> 1.24
--- str_format.c 2001/04/27 12:24:52 1.23
+++ str_format.c 2001/04/28 08:18:51 1.24
@@ -112,6 +112,14 @@
#define NUM_BUF_SIZE 512
#define NDIG 80
+/* compatibility */
+#if !defined(HAVE_ISNAN)
+#define isnan(d) (0)
+#endif
+#if !defined(HAVE_ISINF)
+#define isinf(d) (0)
+#endif
+
/*
* Convert decimal number to its string representation. The number of
* digits is specified by ndigit decpt is set to the position of the
|
|