summaryrefslogtreecommitdiffhomepage
path: root/include/mrbconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mrbconf.h')
-rw-r--r--include/mrbconf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index cabc10b4f..275cdf4c1 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -110,8 +110,10 @@ typedef short mrb_sym;
# define strtoll _strtoi64
# define PRId32 "I32d"
# define PRId64 "I64d"
+typedef unsigned int mrb_bool;
#else
# include <inttypes.h>
+typedef _Bool mrb_bool;
#endif
#ifdef ENABLE_STDIO