diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-03-14 04:51:14 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-03-14 04:51:14 -0700 |
| commit | ce1756b3b6a23050d96d49aef64a7f964e8bc75f (patch) | |
| tree | d6a5e4741a5bd045d2eb3c3c4cb194310454e892 /include/mrbconf.h | |
| parent | 38571fd76994806ee33b1fa2400d1de92de7bdb7 (diff) | |
| parent | 1ffc9ba3255f8b63164c42ea8304115f5a6b2464 (diff) | |
| download | mruby-ce1756b3b6a23050d96d49aef64a7f964e8bc75f.tar.gz mruby-ce1756b3b6a23050d96d49aef64a7f964e8bc75f.zip | |
Merge pull request #997 from monaka/pr-add-type-mrb_bool_t
Define mrb_bool_t.
Diffstat (limited to 'include/mrbconf.h')
| -rw-r--r-- | include/mrbconf.h | 2 |
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 |
