summaryrefslogtreecommitdiff
path: root/include/ruby/internal/stdbool.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/internal/stdbool.h')
-rw-r--r--include/ruby/internal/stdbool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/internal/stdbool.h b/include/ruby/internal/stdbool.h
index b15321cb00..1ca61136ba 100644
--- a/include/ruby/internal/stdbool.h
+++ b/include/ruby/internal/stdbool.h
@@ -39,7 +39,7 @@
# /* Take stdbool.h definition. */
# include <stdbool.h>
-#else
+#elif !defined(HAVE__BOOL)
typedef unsigned char _Bool;
# /* See also http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2229.htm */
# define bool _Bool