projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
we are in 2010 now
[rrdtool.git]
/
src
/
rrd_config_bottom.h
diff --git
a/src/rrd_config_bottom.h
b/src/rrd_config_bottom.h
index
d04e592
..
a569197
100644
(file)
--- a/
src/rrd_config_bottom.h
+++ b/
src/rrd_config_bottom.h
@@
-175,7
+175,8
@@
char *strchr (), *strrchr ();
# ifdef isinf
# undef isinf
# endif
# ifdef isinf
# undef isinf
# endif
-# define isinf(a) (fpclass(a) == FP_NINF || fpclass(a) == FP_PINF)
+# define isinf(a) (!!(fpclass(a) & (FP_SNAN|FP_QNAN)))
+
#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 */