summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMasaki Muranaka <[email protected]>2013-03-29 10:41:28 +0900
committerMasaki Muranaka <[email protected]>2013-03-29 10:41:28 +0900
commit2f8dc97e2d245c641af2f314df5b29c0182f833c (patch)
tree1b58622004fd2e4efe76a20bdbbfb1c25d4fa528 /include
parent2b5b161f8bac79fe8241e18b78c4ddbb30179699 (diff)
downloadmruby-2f8dc97e2d245c641af2f314df5b29c0182f833c.tar.gz
mruby-2f8dc97e2d245c641af2f314df5b29c0182f833c.zip
Move TRUE/FALSE existence checks.
Diffstat (limited to 'include')
-rw-r--r--include/mrbconf.h16
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 */