diff options
| author | Masaki Muranaka <[email protected]> | 2013-03-29 10:41:28 +0900 |
|---|---|---|
| committer | Masaki Muranaka <[email protected]> | 2013-03-29 10:41:28 +0900 |
| commit | 2f8dc97e2d245c641af2f314df5b29c0182f833c (patch) | |
| tree | 1b58622004fd2e4efe76a20bdbbfb1c25d4fa528 /include/mrbconf.h | |
| parent | 2b5b161f8bac79fe8241e18b78c4ddbb30179699 (diff) | |
| download | mruby-2f8dc97e2d245c641af2f314df5b29c0182f833c.tar.gz mruby-2f8dc97e2d245c641af2f314df5b29c0182f833c.zip | |
Move TRUE/FALSE existence checks.
Diffstat (limited to 'include/mrbconf.h')
| -rw-r--r-- | include/mrbconf.h | 16 |
1 files changed, 8 insertions, 8 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 */ |
