summaryrefslogtreecommitdiff
path: root/portable/stdbool.h
diff options
context:
space:
mode:
Diffstat (limited to 'portable/stdbool.h')
-rw-r--r--portable/stdbool.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/portable/stdbool.h b/portable/stdbool.h
index 01a2ff2..bfbf4c4 100644
--- a/portable/stdbool.h
+++ b/portable/stdbool.h
@@ -15,7 +15,9 @@
#if HAVE_STDBOOL_H
# include <stdbool.h>
#else
-# if !HAVE__BOOL
+# if HAVE__BOOL
+# define bool _Bool
+# else
# ifdef __cplusplus
typedef bool _Bool;
# elif _WIN32