diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/mrbconf.h | 16 | ||||
| -rw-r--r-- | include/mruby/numeric.h | 2 |
2 files changed, 8 insertions, 10 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h index 988bdf0ad..bd8f6ea80 100644 --- a/include/mrbconf.h +++ b/include/mrbconf.h @@ -111,14 +111,6 @@ typedef short mrb_sym; #define DISABLE_DEBUG #endif -#ifndef FALSE -# define FALSE 0 -#endif - -#ifndef TRUE -# define TRUE 1 -#endif - #ifdef _MSC_VER # include <float.h> # define inline __inline @@ -154,4 +146,12 @@ typedef _Bool mrb_bool; # include <stdio.h> #endif +#ifndef FALSE +# define FALSE 0 +#endif + +#ifndef TRUE +# define TRUE 1 +#endif + #endif /* MRUBYCONF_H */ diff --git a/include/mruby/numeric.h b/include/mruby/numeric.h index 9a5ba449f..4bcb43966 100644 --- a/include/mruby/numeric.h +++ b/include/mruby/numeric.h @@ -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)) |
