Should not use mrb_float if MRB_NO_FLOAT is defined; fix #5185

This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-11-24 13:50:15 +09:00
parent 67f3626b5c
commit 36e3c4404a
+2
View File
@@ -34,7 +34,9 @@ typedef struct mrb_pool_value {
#if defined(MRB_64BIT) || defined(MRB_INT64)
int64_t i64;
#endif
#ifndef MRB_NO_FLOAT
mrb_float f;
#endif
} u;
} mrb_pool_value;