summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-03-04 17:17:13 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-03-04 17:17:13 +0900
commit2f335e1a586853c433c0d58665aa2d48e18409e2 (patch)
tree86996cc9fc67335d79edb4eb98d7ad871c94fc62
parent2be1a9c3c7806059a4b2ff20154c2fe0b43f530b (diff)
downloadmruby-2f335e1a586853c433c0d58665aa2d48e18409e2.tar.gz
mruby-2f335e1a586853c433c0d58665aa2d48e18409e2.zip
Fix `mrb_pool_value` to keep `int64` on 32 bit platforms; fix #5366
-rw-r--r--include/mruby/irep.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/mruby/irep.h b/include/mruby/irep.h
index 8d1648e13..640b0177f 100644
--- a/include/mruby/irep.h
+++ b/include/mruby/irep.h
@@ -31,9 +31,7 @@ typedef struct mrb_pool_value {
union {
const char *str;
int32_t i32;
-#if defined(MRB_64BIT) || defined(MRB_INT64)
int64_t i64;
-#endif
#ifndef MRB_NO_FLOAT
mrb_float f;
#endif