summaryrefslogtreecommitdiffhomepage
path: root/src/regparse.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/regparse.c
parent4aa9111f9a107b3b0c6f1c13d933cbcd39f2a787 (diff)
downloadmruby-76f7aecff326666543d9bac31fe13e0cab8e05f4.tar.gz
mruby-76f7aecff326666543d9bac31fe13e0cab8e05f4.zip
use ENABLE/DISABLE instead of INCLUDE for configuration macro names
Diffstat (limited to 'src/regparse.c')
-rw-r--r--src/regparse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regparse.c b/src/regparse.c
index 509740ac3..f7bb23306 100644
--- a/src/regparse.c
+++ b/src/regparse.c
@@ -32,7 +32,7 @@
#include <string.h>
#include "regparse.h"
#include <stdarg.h>
-#ifdef INCLUDE_REGEXP
+#ifdef ENABLE_REGEXP
#define WARN_BUFSIZE 256
@@ -298,7 +298,7 @@ strcat_capa_from_static(UChar* dest, UChar* dest_end,
onig_strcpy(r + (dest_end - dest), src, src_end);
return r;
}
-#endif //INCLUDE_REGEXP
+#endif //ENABLE_REGEXP
#ifdef INCLUDE_ENCODING
#ifdef USE_ST_LIBRARY
@@ -393,7 +393,7 @@ onig_st_insert_strend(hash_table_type* table, const UChar* str_key,
#endif /* USE_ST_LIBRARY */
#endif //INCLUDE_ENCODING
-#ifdef INCLUDE_REGEXP
+#ifdef ENABLE_REGEXP
#ifdef USE_NAMED_GROUP
#define INIT_NAME_BACKREFS_ALLOC_NUM 8
@@ -5597,4 +5597,4 @@ onig_scan_env_set_error_string(ScanEnv* env, int ecode ARG_UNUSED,
env->error = arg;
env->error_end = arg_end;
}
-#endif //INCLUDE_REGEXP
+#endif //ENABLE_REGEXP