index d04e592af13f56088cc10d88509201713506b934..a569197ab9a8b709f0135895ad88b60248648852 100644 (file)
--- a/src/rrd_config_bottom.h
+++ b/src/rrd_config_bottom.h
# 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 */