summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-02-08 17:45:11 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-02-08 17:46:38 +0900
commitdb1172b48cd5c3a21655267277ffb53f567dd4ef (patch)
treeafef5be4d86ff7ffa841117bda43d985f553bd16 /include
parentbc21278a7cfb587a17799c494afa32ddd6a3d421 (diff)
downloadmruby-db1172b48cd5c3a21655267277ffb53f567dd4ef.tar.gz
mruby-db1172b48cd5c3a21655267277ffb53f567dd4ef.zip
Allow the case `MRB_32BIT` and `MRB_NO_BOXING` and `MRB_USE_FLOAT32`; #4382
Diffstat (limited to 'include')
-rw-r--r--include/mruby/array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/array.h b/include/mruby/array.h
index da811606a..10cc7849f 100644
--- a/include/mruby/array.h
+++ b/include/mruby/array.h
@@ -21,7 +21,7 @@ typedef struct mrb_shared_array {
mrb_value *ptr;
} mrb_shared_array;
-#if defined(MRB_32BIT) && defined(MRB_NO_BOXING)
+#if defined(MRB_32BIT) && defined(MRB_NO_BOXING) && !defined(MRB_USE_FLOAT32)
# define MRB_ARY_NO_EMBED
# define MRB_ARY_EMBED_LEN_MAX 0
#else