Merge branch 'pull/collectd-4' into collectd-4
[collectd.git] / configure.in
index 3636675..5166ad1 100644 (file)
@@ -453,6 +453,9 @@ if test "x$nan_type" = "xnone"; then
       [[
 #include <stdlib.h>
 #include <math.h>
+#ifdef NAN
+# undef NAN
+#endif
 #define NAN (0.0 / 0.0)
 #ifndef isnan
 # define isnan(f) ((f) != (f))