Include `mruby/endian.h` only when `MRB_NO_FLOAT` is undefined.

parent 260db0f5
......@@ -12,9 +12,9 @@
#include <mruby/irep.h>
#include <mruby/numeric.h>
#include <mruby/debug.h>
#include <mruby/endian.h>
#ifndef MRB_NO_FLOAT
#include <mruby/endian.h>
#ifdef MRB_USE_FLOAT32
#define MRB_FLOAT_FMT "%.9g"
#else
......
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