summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorKOBAYASHI Shuji <[email protected]>2021-01-11 16:20:27 +0900
committerKOBAYASHI Shuji <[email protected]>2021-01-11 16:20:27 +0900
commit48feda0692d8543f2e18b7f0d56f2c7ff95f435c (patch)
tree715ffc2639a07af00d94b591f285159aaae0e802 /include
parent0290f066814616503839fec717dad6926fce5bba (diff)
downloadmruby-48feda0692d8543f2e18b7f0d56f2c7ff95f435c.tar.gz
mruby-48feda0692d8543f2e18b7f0d56f2c7ff95f435c.zip
Remove the definition of `mrb_uint` in `numeric.h` that is no longer needed
Diffstat (limited to 'include')
-rw-r--r--include/mruby/numeric.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/mruby/numeric.h b/include/mruby/numeric.h
index 683a5b41c..fc6cacfda 100644
--- a/include/mruby/numeric.h
+++ b/include/mruby/numeric.h
@@ -90,10 +90,6 @@ mrb_int_mul_overflow(mrb_int multiplier, mrb_int multiplicand, mrb_int *product)
#else
-#define MRB_UINT_MAKE2(n) uint ## n ## _t
-#define MRB_UINT_MAKE(n) MRB_UINT_MAKE2(n)
-#define mrb_uint MRB_UINT_MAKE(MRB_INT_BIT)
-
#define MRB_INT_OVERFLOW_MASK ((mrb_uint)1 << (MRB_INT_BIT - 1))
static inline mrb_bool
@@ -135,9 +131,6 @@ mrb_int_mul_overflow(mrb_int a, mrb_int b, mrb_int *c)
}
#undef MRB_INT_OVERFLOW_MASK
-#undef mrb_uint
-#undef MRB_UINT_MAKE
-#undef MRB_UINT_MAKE2
#endif