diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-05-30 11:47:59 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-05-30 11:47:59 +0900 |
| commit | 27a5e1045441838e9bd820faea20489370737bc0 (patch) | |
| tree | d2ca05637e1c2e2e62494351547058e0fe5d54c9 /include | |
| parent | 4b15d5d1e373542dcf6fdac89aa5e5e2cfd61c4c (diff) | |
| download | mruby-27a5e1045441838e9bd820faea20489370737bc0.tar.gz mruby-27a5e1045441838e9bd820faea20489370737bc0.zip | |
Avoid using C++ style comments (//).
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/class.h | 2 | ||||
| -rw-r--r-- | include/mruby/numeric.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/mruby/class.h b/include/mruby/class.h index ce953af3b..0526386d6 100644 --- a/include/mruby/class.h +++ b/include/mruby/class.h @@ -51,7 +51,7 @@ mrb_class(mrb_state *mrb, mrb_value v) } } -// TODO: figure out where to put user flags +/* TODO: figure out where to put user flags */ #define MRB_FLAG_IS_FROZEN (1 << 18) #define MRB_FLAG_IS_PREPENDED (1 << 19) #define MRB_FLAG_IS_ORIGIN (1 << 20) diff --git a/include/mruby/numeric.h b/include/mruby/numeric.h index e4c1a2f56..5b0814fa3 100644 --- a/include/mruby/numeric.h +++ b/include/mruby/numeric.h @@ -48,9 +48,11 @@ mrb_value mrb_num_div(mrb_state *mrb, mrb_value x, mrb_value y); # define MRB_HAVE_TYPE_GENERIC_CHECKED_ARITHMETIC_BUILTINS #endif +/* // Clang 3.8 and 3.9 have problem compiling mruby in 32-bit mode, when MRB_INT64 is set // because of missing __mulodi4 and similar functions in its runtime. We need to use custom // implementation for them. +*/ #ifdef MRB_HAVE_TYPE_GENERIC_CHECKED_ARITHMETIC_BUILTINS #if defined(__clang__) && (__clang_major__ == 3) && (__clang_minor__ >= 8) && \ defined(MRB_32BIT) && defined(MRB_INT64) |
