]> git.ipfire.org Git - thirdparty/git.git/blobdiff - grep.h
grep: work around UTF-8 related JIT bug in PCRE2 <= 10.34
[thirdparty/git.git] / grep.h
diff --git a/grep.h b/grep.h
index 6075f997e68f5594f771123ae62655181278d38e..c59592e3bdba5205befb38b5a19881ba3c6c9ce2 100644 (file)
--- a/grep.h
+++ b/grep.h
@@ -7,6 +7,9 @@
 #if (PCRE2_MAJOR >= 10 && PCRE2_MINOR >= 36) || PCRE2_MAJOR >= 11
 #define GIT_PCRE2_VERSION_10_36_OR_HIGHER
 #endif
+#if (PCRE2_MAJOR >= 10 && PCRE2_MINOR >= 35) || PCRE2_MAJOR >= 11
+#define GIT_PCRE2_VERSION_10_35_OR_HIGHER
+#endif
 #if (PCRE2_MAJOR >= 10 && PCRE2_MINOR >= 34) || PCRE2_MAJOR >= 11
 #define GIT_PCRE2_VERSION_10_34_OR_HIGHER
 #endif