projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
configure/collectd.h: Undef unusable `NAN' from <math.h> before defining our own.
[collectd.git]
/
src
/
collectd.h
diff --git
a/src/collectd.h
b/src/collectd.h
index
e1ce97c
..
3d44c51
100644
(file)
--- a/
src/collectd.h
+++ b/
src/collectd.h
@@
-113,6
+113,9
@@
/* #endif NAN_STATIC_ISOC */
#elif NAN_ZERO_ZERO
# include <math.h>
+# ifdef NAN
+# undef NAN
+# endif
# define NAN (0.0 / 0.0)
# ifndef isnan
# define isnan(f) ((f) != (f))