summaryrefslogtreecommitdiffhomepage
path: root/src/load.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/load.c
parent4aa9111f9a107b3b0c6f1c13d933cbcd39f2a787 (diff)
downloadmruby-76f7aecff326666543d9bac31fe13e0cab8e05f4.tar.gz
mruby-76f7aecff326666543d9bac31fe13e0cab8e05f4.zip
use ENABLE/DISABLE instead of INCLUDE for configuration macro names
Diffstat (limited to 'src/load.c')
-rw-r--r--src/load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/load.c b/src/load.c
index 1f853df00..d3766da9d 100644
--- a/src/load.c
+++ b/src/load.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"
@@ -418,7 +418,7 @@ read_rite_irep_record(mrb_state *mrb, unsigned char *src, mrb_irep *irep, uint32
irep->pool[i] = mrb_str_new(mrb, buf, pdl);
break;
-#ifdef INCLUDE_REGEXP
+#ifdef ENABLE_REGEXP
case MRB_TT_REGEX:
str = mrb_str_new(mrb, buf, pdl);
irep->pool[i] = mrb_reg_quote(mrb, str);