Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
grep: un-break building with PCRE < 8.20
[gitweb.git]
/
grep.h
diff --git
a/grep.h
b/grep.h
index 3b948d91553142b8e3e9c52c2e4a5cd1a66a497a..ce909697361125c28aa9ecbb401735d9ad47397d 100644
(file)
--- a/
grep.h
+++ b/
grep.h
@@
-11,6
+11,9
@@
#ifndef PCRE_STUDY_JIT_COMPILE
#define PCRE_STUDY_JIT_COMPILE 0
#endif
+#if PCRE_MAJOR <= 8 && PCRE_MINOR < 20
+typedef int pcre_jit_stack;
+#endif
#else
typedef int pcre;
typedef int pcre_extra;