23 lines
719 B
Text
23 lines
719 B
Text
Fix build with pcre 8.42
|
|
|
|
Index: src/pcrewrap.cc
|
|
--- src/pcrewrap.cc.orig
|
|
+++ src/pcrewrap.cc
|
|
@@ -74,7 +74,7 @@ get_capturecount(void const * bd)
|
|
namespace pcre
|
|
{
|
|
typedef map<char const *,
|
|
- pair<struct real_pcre const *, struct pcre_extra const *> >
|
|
+ pair<struct real_pcre8_or_16 const *, struct pcre_extra const *> >
|
|
regex_cache;
|
|
|
|
class regex_cache_manager
|
|
@@ -86,7 +86,7 @@ namespace pcre (public)
|
|
}
|
|
|
|
void store(char const * pattern,
|
|
- pair<struct real_pcre const *, struct pcre_extra const *>
|
|
+ pair<struct real_pcre8_or_16 const *, struct pcre_extra const *>
|
|
data)
|
|
{
|
|
cache[pattern] = data;
|