summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 305647b)
raw | patch | inline | side by side (parent: 305647b)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 4 Jul 2010 20:59:49 +0000 (20:59 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 4 Jul 2010 20:59:49 +0000 (20:59 +0000) |
program/src/rrd_config_bottom.h | patch | blob | history |
index 4bf9d9cfcddc6a1442108a0d89ea5ac95433a9cc..90ecc8e9f2b45a03200554dd0cbb97cd101b41ae 100644 (file)
# define isinf(a) (fp_class(a) == FP_NEG_INF || fp_class(a) == FP_POS_INF)
#endif
-#if (! defined(HAVE_ISINF) && defined(HAVE_FPCLASSIFY))
+#if (! defined(HAVE_ISINF) && defined(HAVE_FPCLASSIFY) && defined(FP_MINUS_INF) && defined(FP_PLUS_INF))
# define HAVE_ISINF 1
# define isinf(a) (fpclassify(a) == FP_MINUS_INF || fpclassify(a) == FP_PLUS_INF)
#endif
-#if (! defined(HAVE_ISINF) && defined(HAVE_FPCLASSIFY))
+#if (! defined(HAVE_ISINF) && defined(HAVE_FPCLASSIFY) && defined(FP_INFINITE))
# define HAVE_ISINF 1
# define isinf(a) (fpclassify(a) == FP_INFINITE)
#endif