diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-11-24 16:53:03 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-11-24 16:54:39 +0900 |
| commit | e55abd239091f7353691c6635d7108391d7ef389 (patch) | |
| tree | 1936f3a18d99051da979527386235b8b3094812f /mrblib | |
| parent | 36e3c4404af102411b6949e672aa6b73768945d5 (diff) | |
| download | mruby-e55abd239091f7353691c6635d7108391d7ef389.tar.gz mruby-e55abd239091f7353691c6635d7108391d7ef389.zip | |
Fix compiler errors from `MRB_NO_FLOAT`; #5185
Also added `no-float.rb` target in `build_config`.
Diffstat (limited to 'mrblib')
| -rw-r--r-- | mrblib/numeric.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
