projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
backport FP_* fixes and revert FPCLASSIFY fix since there the FP_* values are defines.
[rrdtool.git]
/
src
/
rrd_config_bottom.h
diff --git
a/src/rrd_config_bottom.h
b/src/rrd_config_bottom.h
index
4bf9d9c
..
90ecc8e
100644
(file)
--- a/
src/rrd_config_bottom.h
+++ b/
src/rrd_config_bottom.h
@@
-190,12
+190,12
@@
char *strchr (), *strrchr ();
# define isinf(a) (fp_class(a) == FP_NEG_INF || fp_class(a) == FP_POS_INF)
#endif
# 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
# 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
# define HAVE_ISINF 1
# define isinf(a) (fpclassify(a) == FP_INFINITE)
#endif