aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dive.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 8657ffe13..aec59f6f9 100644
--- a/dive.h
+++ b/dive.h
@@ -29,8 +29,12 @@ extern "C" {
#else
#if __STDC_VERSION__ >= 199901L
#include <stdbool.h>
+#ifndef TRUE
#define TRUE true
+#endif
+#ifndef FALSE
#define FALSE false
+#endif
#else
typedef int bool;
#ifndef TRUE