aboutsummaryrefslogtreecommitdiffstats
path: root/regex.h
diff options
context:
space:
mode:
Diffstat (limited to 'regex.h')
-rw-r--r--regex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/regex.h b/regex.h
index e0977bcb..fce11c3a 100644
--- a/regex.h
+++ b/regex.h
@@ -30,7 +30,9 @@
/* Maximum number of duplicates an interval can allow. */
+#ifndef RE_DUP_MAX
#define RE_DUP_MAX ((1 << 15) - 1)
+#endif
/* This defines the various regexp syntaxes. */