diff options
| author | Tomasz Dąbrowski <[email protected]> | 2017-08-26 12:10:39 +0200 |
|---|---|---|
| committer | Tomasz Dąbrowski <[email protected]> | 2017-08-26 12:11:57 +0200 |
| commit | 01b9b71902433d9f3686af079259877f816fddc1 (patch) | |
| tree | 6edbaf1a1139610c3259813e822fb04e88f6f9e4 /include | |
| parent | 85a400e43d6b5c7ea193c65c70cdcd611869298b (diff) | |
| download | mruby-01b9b71902433d9f3686af079259877f816fddc1.tar.gz mruby-01b9b71902433d9f3686af079259877f816fddc1.zip | |
fix mrbgems/mruby-range-ext/src/range.c:142:71: error: use of undeclared identifier 'FLT_EPSILON'
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mruby.h b/include/mruby.h index 1a6289e5c..ced9c104d 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -65,6 +65,9 @@ #include "mrbconf.h" +#ifndef FLT_EPSILON +#define FLT_EPSILON (1.19209290e-07f) +#endif #ifndef DBL_EPSILON #define DBL_EPSILON ((double)2.22044604925031308085e-16L) #endif |
