use ENABLE/DISABLE instead of INCLUDE for configuration macro names

This commit is contained in:
Yukihiro Matsumoto
2012-06-15 15:34:49 +09:00
parent 4aa9111f9a
commit 76f7aecff3
17 changed files with 98 additions and 114 deletions
+1 -8
View File
@@ -40,14 +40,7 @@ mrb_class(mrb_state *mrb, mrb_value v)
case MRB_TT_FLOAT:
return mrb->float_class;
#ifdef INCLUDE_REGEXP
// case MRB_TT_REGEX:
// return mrb->regex_class;
// case MRB_TT_MATCH:
// return mrb->match_class;
// case MRB_TT_DATA:
// return mrb->encode_class;
#else
#ifdef ENABLE_REGEXP
case MRB_TT_REGEX:
case MRB_TT_MATCH:
mrb_raise(mrb, E_TYPE_ERROR, "type mismatch: %s given",