summaryrefslogtreecommitdiffhomepage
path: root/include/mrbconf.h
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-05-13 19:28:35 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-05-13 19:30:41 +0900
commit1d0cfb359c5a0c482c25e5fada987148738012ad (patch)
treead455fcc5f4b98d3e389c5244b805a26385c9e9c /include/mrbconf.h
parent3a3761ec699d7ae71d858024d8e6748f325f14a8 (diff)
downloadmruby-1d0cfb359c5a0c482c25e5fada987148738012ad.tar.gz
mruby-1d0cfb359c5a0c482c25e5fada987148738012ad.zip
Update `mrb_bool` definition; close #2385
- move `TRUE/FALSE` definition from `mrbconf.h` (not configurable) - use C/C++ definition of boolean type for `mrb_bool` The fix is originally written by @take-cheeze.
Diffstat (limited to 'include/mrbconf.h')
-rw-r--r--include/mrbconf.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index d4da81bfc..2a320f371 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -181,14 +181,6 @@
# include <stdio.h>
#endif
-#ifndef FALSE
-# define FALSE 0
-#endif
-
-#ifndef TRUE
-# define TRUE 1
-#endif
-
/*
** mruby tuning profiles
**/