summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorTomasz Dąbrowski <[email protected]>2017-08-26 12:10:39 +0200
committerTomasz Dąbrowski <[email protected]>2017-08-26 12:11:57 +0200
commit01b9b71902433d9f3686af079259877f816fddc1 (patch)
tree6edbaf1a1139610c3259813e822fb04e88f6f9e4 /include
parent85a400e43d6b5c7ea193c65c70cdcd611869298b (diff)
downloadmruby-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.h3
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