diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-03-28 19:34:15 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-03-28 19:34:15 -0700 |
| commit | b29b4218171afd8ffe600d0f270b958915fc061f (patch) | |
| tree | 9be935e9d07758b6e5c7ce545c2f968d2bb7b0e5 /include | |
| parent | 5fb12a990d4d30876ce21e6225acbef35f47b48a (diff) | |
| parent | 74f04849c4d04425e911acbe6bedb2596046f5b0 (diff) | |
| download | mruby-b29b4218171afd8ffe600d0f270b958915fc061f.tar.gz mruby-b29b4218171afd8ffe600d0f270b958915fc061f.zip | |
Merge pull request #1101 from monaka/pr-cleanup-includes
Cleanup includes
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)) |
