summaryrefslogtreecommitdiffhomepage
path: root/src/dump.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-06-15 15:34:49 +0900
committerYukihiro Matsumoto <[email protected]>2012-06-15 15:34:49 +0900
commit76f7aecff326666543d9bac31fe13e0cab8e05f4 (patch)
treee9bf296dc74535f334852e9cb5763005e2747ddb /src/dump.c
parent4aa9111f9a107b3b0c6f1c13d933cbcd39f2a787 (diff)
downloadmruby-76f7aecff326666543d9bac31fe13e0cab8e05f4.tar.gz
mruby-76f7aecff326666543d9bac31fe13e0cab8e05f4.zip
use ENABLE/DISABLE instead of INCLUDE for configuration macro names
Diffstat (limited to 'src/dump.c')
-rw-r--r--src/dump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dump.c b/src/dump.c
index 7b2199a02..daf2868f1 100644
--- a/src/dump.c
+++ b/src/dump.c
@@ -8,7 +8,7 @@
#include "mruby/dump.h"
#include "mruby/string.h"
-#ifdef INCLUDE_REGEXP
+#ifdef ENABLE_REGEXP
#include "re.h"
#endif
#include "mruby/irep.h"
@@ -237,7 +237,7 @@ get_pool_block_size(mrb_state *mrb, mrb_irep *irep, int type)
nlen = str_dump_len(RSTRING_PTR(str), RSTRING_LEN(str), type);
size += nlen;
break;
-#ifdef INCLUDE_REGEXP
+#ifdef ENABLE_REGEXP
case MRB_TT_REGEX:
str = mrb_reg_to_s(mrb, irep->pool[pool_no]);
nlen = str_dump_len(RSTRING_PTR(str), RSTRING_LEN(str), type);
@@ -365,7 +365,7 @@ write_pool_block(mrb_state *mrb, mrb_irep *irep, char *buf, int type)
str_dump(RSTRING_PTR(str), char_buf, RSTRING_LEN(str), type);
break;
-#ifdef INCLUDE_REGEXP
+#ifdef ENABLE_REGEXP
case MRB_TT_REGEX:
str = mrb_reg_to_s(mrb, irep->pool[pool_no]);
nlen = str_dump_len(RSTRING_PTR(str), RSTRING_LEN(str), type);