fix mrbgems/mruby-range-ext/src/range.c:142:71: error: use of undeclared identifier 'FLT_EPSILON'

This commit is contained in:
Tomasz Dąbrowski
2017-08-26 12:10:39 +02:00
parent 85a400e43d
commit 01b9b71902
+3
View File
@@ -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