aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-10-26 14:11:54 -0700
committerChris Robinson <[email protected]>2018-10-29 10:10:37 -0700
commit7f8ef092aac523cf52c77e069cb6091370ab0a7a (patch)
tree638ee29bea5d3897a9d5777ed22aceaa7451242f /common
parent44a4602508119b528fd290c8d6ff836a5a8db87f (diff)
Fix a couple internal headers to compile with C++
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