aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/bool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/bool.h b/common/bool.h
index 6f714d09..dbb28e15 100644
--- a/common/bool.h
+++ b/common/bool.h
@@ -5,7 +5,7 @@
#include <stdbool.h>
#endif
-#ifndef bool
+#if !defined(__cplusplus) && !defined(bool)
#ifdef HAVE_C99_BOOL
#define bool _Bool
#else