Commit 2f8dc97e authored by Masaki Muranaka's avatar Masaki Muranaka

Move TRUE/FALSE existence checks.

parent 2b5b161f
...@@ -111,14 +111,6 @@ typedef short mrb_sym; ...@@ -111,14 +111,6 @@ typedef short mrb_sym;
#define DISABLE_DEBUG #define DISABLE_DEBUG
#endif #endif
#ifndef FALSE
# define FALSE 0
#endif
#ifndef TRUE
# define TRUE 1
#endif
#ifdef _MSC_VER #ifdef _MSC_VER
# include <float.h> # include <float.h>
# define inline __inline # define inline __inline
...@@ -154,4 +146,12 @@ typedef _Bool mrb_bool; ...@@ -154,4 +146,12 @@ typedef _Bool mrb_bool;
# include <stdio.h> # include <stdio.h>
#endif #endif
#ifndef FALSE
# define FALSE 0
#endif
#ifndef TRUE
# define TRUE 1
#endif
#endif /* MRUBYCONF_H */ #endif /* MRUBYCONF_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