From e55abd239091f7353691c6635d7108391d7ef389 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Tue, 24 Nov 2020 16:53:03 +0900 Subject: Fix compiler errors from `MRB_NO_FLOAT`; #5185 Also added `no-float.rb` target in `build_config`. --- mrblib/numeric.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mrblib/numeric.rb') diff --git a/mrblib/numeric.rb b/mrblib/numeric.rb index e28d63324..1bce9c204 100644 --- a/mrblib/numeric.rb +++ b/mrblib/numeric.rb @@ -185,4 +185,4 @@ class Float end self end -end +end if Object.const_defined?(:Float) -- cgit v1.2.3