summaryrefslogtreecommitdiffhomepage
path: root/include/mrbconf.h
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-04-29 09:23:43 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-04-29 09:23:43 +0900
commit8890a992a665f59ee9ae8b9e877693e3fdae241a (patch)
tree3a6d89abbca8ef4ec4a0d266af8394857eedec15 /include/mrbconf.h
parent22469f3be18d31605c01f9d38ed50246fefe51a2 (diff)
downloadmruby-8890a992a665f59ee9ae8b9e877693e3fdae241a.tar.gz
mruby-8890a992a665f59ee9ae8b9e877693e3fdae241a.zip
always use unsigned int as mrb_bool even in C++
Diffstat (limited to 'include/mrbconf.h')
-rw-r--r--include/mrbconf.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index 1e4a39381..72bae93f6 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -132,18 +132,8 @@ typedef short mrb_sym;
# define PRIo64 "I64o"
# define PRIx64 "I64x"
# define PRIX64 "I64X"
-# ifdef __cplusplus
-typedef bool mrb_bool;
-# else
-typedef unsigned int mrb_bool;
-# endif
#else
# include <inttypes.h>
-# ifdef __cplusplus
-typedef bool mrb_bool;
-# else
-typedef _Bool mrb_bool;
-# endif
#endif
#ifdef ENABLE_STDIO