From c8f4d72302e43678384c1e04702ba10ed2567a3d Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 30 Jan 2020 17:16:12 +0900 Subject: Move fallback definitions of `FLT_EPSILON` etc. after `#include ` that includes `float.h`. It allows definitions from native headers. --- include/mruby.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/mruby.h b/include/mruby.h index 671053ff9..7419618fd 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -70,6 +70,11 @@ #include "mrbconf.h" +#include +#include +#include +#include + #ifndef MRB_WITHOUT_FLOAT #ifndef FLT_EPSILON #define FLT_EPSILON (1.19209290e-07f) @@ -88,11 +93,6 @@ #endif #endif -#include -#include -#include -#include - /** * MRuby C API entry point */ -- cgit v1.2.3