Commit fd69e271 authored by Masaki Muranaka's avatar Masaki Muranaka

Add float.h. It exists even if the environment was freestanding. It has been supported since C89.

parent 526f4bf6
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include "mruby/string.h" #include "mruby/string.h"
#include "mruby/array.h" #include "mruby/array.h"
#include <float.h>
#include <math.h> #include <math.h>
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -17,10 +18,6 @@ ...@@ -17,10 +18,6 @@
#include <floatingpoint.h> #include <floatingpoint.h>
#endif #endif
#ifdef HAVE_FLOAT_H
#include <float.h>
#endif
#ifdef HAVE_IEEEFP_H #ifdef HAVE_IEEEFP_H
#include <ieeefp.h> #include <ieeefp.h>
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment