mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Move TRUE/FALSE existence checks.
This commit is contained in:
+8
-8
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user