summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-03-22 10:29:18 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-03-22 10:29:18 +0100
commite7e2056d1a993a01c9d57fb2261066855d282d8f (patch)
treef94116fdb65c1ef4c719f567bca0799aaf594988 /ext/pcre/php_pcre.c
parent5456a6ea92243d6028ea2012407dbef557113215 (diff)
downloadphp-git-e7e2056d1a993a01c9d57fb2261066855d282d8f.tar.gz
Remove HAVE_PCRE/HAVE_BUNDLED_PCRE checks
PCRE is always available.
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index 0da18b315a..fe79360f9a 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -24,8 +24,6 @@
#include "ext/standard/basic_functions.h"
#include "zend_smart_str.h"
-#if HAVE_PCRE || HAVE_BUNDLED_PCRE
-
#include "ext/standard/php_string.h"
#define PREG_PATTERN_ORDER 1
@@ -3079,5 +3077,3 @@ PHPAPI pcre2_code *php_pcre_pce_re(pcre_cache_entry *pce)
assert(NULL != pce);
return pce->re;
}/*}}}*/
-
-#endif /* HAVE_PCRE || HAVE_BUNDLED_PCRE */