projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed solaris regression introduced in r1904 ... now the isnan macro should work...
[rrdtool.git]
/
src
/
rrd_config_bottom.h
diff --git
a/src/rrd_config_bottom.h
b/src/rrd_config_bottom.h
index
d04e592
..
48a2db2
100644
(file)
--- a/
src/rrd_config_bottom.h
+++ b/
src/rrd_config_bottom.h
@@
-170,12
+170,12
@@
char *strchr (), *strrchr ();
#endif
/* for Solaris */
#endif
/* for Solaris */
-#if (! defined(HAVE_ISINF) && defined(HAVE_FPCLASS)
)
-#
define HAVE_ISINF 1
-#
ifdef isinf
+#if (! defined(HAVE_ISINF) && defined(HAVE_FPCLASS)
&& defined(FP_NINF) && defined(FP_PINF))
+# define HAVE_ISINF 1
+# ifdef isinf
# undef isinf
# undef isinf
-#
endif
-#
define isinf(a) (fpclass(a) == FP_NINF || fpclass(a) == FP_PINF)
+# endif
+# define isinf(a) (fpclass(a) == FP_NINF || fpclass(a) == FP_PINF)
#endif
/* solaris 10 it defines isnan such that only forte can compile it ... bad bad */
#endif
/* solaris 10 it defines isnan such that only forte can compile it ... bad bad */