summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 330e584)
raw | patch | inline | side by side (parent: 330e584)
author | Florian Forster <octo@collectd.org> | |
Sun, 27 Mar 2011 18:58:40 +0000 (11:58 -0700) | ||
committer | Florian Forster <octo@collectd.org> | |
Sun, 27 Mar 2011 18:58:40 +0000 (11:58 -0700) |
src/collectd.h | patch | blob | history |
diff --git a/src/collectd.h b/src/collectd.h
index 8dd0f4263b55a1921ab5e105c354f37948226b20..4079ad1f2872c4d70aa708f0c523b3aed1f517fb 100644 (file)
--- a/src/collectd.h
+++ b/src/collectd.h
# define assert(...) /* nop */
#endif
+#if !defined(HAVE__BOOL) || !HAVE__BOOL
+typedef int _Bool;
+# undef HAVE__BOOL
+# define HAVE__BOOL 1
+#endif
+
#if NAN_STATIC_DEFAULT
# include <math.h>
/* #endif NAN_STATIC_DEFAULT*/