mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Sync HAVE_BUNDLED_PCRE #if/ifdef/defined (#14354)
Follow up of GH-5526 (-Wundef)
This commit is contained in:
parent
cb2c5de3db
commit
e45d2d6046
2 changed files with 2 additions and 2 deletions
|
@ -587,7 +587,7 @@ static zend_always_inline size_t calculate_unit_length(pcre_cache_entry *pce, co
|
|||
PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache_ex(zend_string *regex, bool locale_aware)
|
||||
{
|
||||
pcre2_code *re = NULL;
|
||||
#if 10 == PCRE2_MAJOR && 37 == PCRE2_MINOR && !HAVE_BUNDLED_PCRE
|
||||
#if 10 == PCRE2_MAJOR && 37 == PCRE2_MINOR && !defined(HAVE_BUNDLED_PCRE)
|
||||
uint32_t coptions = PCRE2_NO_START_OPTIMIZE;
|
||||
#else
|
||||
uint32_t coptions = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue