summaryrefslogtreecommitdiff
path: root/src/sp_pcre_compat.h
diff options
context:
space:
mode:
authorRemi Collet2021-01-04 19:32:08 +0100
committerGitHub2021-01-04 18:32:08 +0000
commit48f927e9694fcfd76d9fe97542359c8b0bd0a46d (patch)
tree9ad8fa51d77c3f5db0e0381d5fba10a4d550f7c2 /src/sp_pcre_compat.h
parent1e8e75b554955cc59866a41bb32853a96e8e83ae (diff)
Fix #368 build with system libpcre
Diffstat (limited to 'src/sp_pcre_compat.h')
-rw-r--r--src/sp_pcre_compat.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sp_pcre_compat.h b/src/sp_pcre_compat.h
index 11f7f7c..14c33b2 100644
--- a/src/sp_pcre_compat.h
+++ b/src/sp_pcre_compat.h
@@ -4,9 +4,6 @@
4#include <stdlib.h> 4#include <stdlib.h>
5#include <stdbool.h> 5#include <stdbool.h>
6 6
7#undef pcre_exec
8#undef pcre_compile
9
10#define PCRE2_CODE_UNIT_WIDTH 8 7#define PCRE2_CODE_UNIT_WIDTH 8
11#if PHP_VERSION_ID >= 70300 8#if PHP_VERSION_ID >= 70300
12#define SP_HAS_PCRE2 9#define SP_HAS_PCRE2