From 36e3c4404af102411b6949e672aa6b73768945d5 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Tue, 24 Nov 2020 13:50:15 +0900 Subject: Should not use `mrb_float` if `MRB_NO_FLOAT` is defined; fix #5185 --- include/mruby/irep.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/mruby/irep.h b/include/mruby/irep.h index a43e854b4..173f69037 100644 --- a/include/mruby/irep.h +++ b/include/mruby/irep.h @@ -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; -- cgit v1.2.3