Commit a01e968c authored by Masaki Muranaka's avatar Masaki Muranaka

Remove limits.h from numeric.h. Add limits.h to some C files.

parent 8326b0ab
......@@ -11,8 +11,6 @@
extern "C" {
#endif
#include <limits.h>
#define POSFIXABLE(f) ((f) <= MRB_INT_MAX)
#define NEGFIXABLE(f) ((f) >= MRB_INT_MIN)
#define FIXABLE(f) (POSFIXABLE(f) && NEGFIXABLE(f))
......
#include <limits.h>
#include "mruby.h"
#include "mruby/numeric.h"
......
......@@ -6,6 +6,7 @@
#include "mruby.h"
#include <limits.h>
#include <stdio.h>
#include <string.h>
#include "mruby/string.h"
......
......@@ -13,6 +13,7 @@
#include <math.h>
#include <assert.h>
#include <stdlib.h>
#include <limits.h>
#if defined(__FreeBSD__) && __FreeBSD__ < 4
#include <floatingpoint.h>
......
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