Skip to content

Commit db157e3

Browse files
authored
Remove redundant PCRE_STATIC definition (#18952)
Current minimum PCRE2 library in PHP is 10.30 (with bundled 10.45) and none of these versions use PCRE_STATIC macro anymore in favor of PCRE2_STATIC, which is defined in the generated config.w32.h on Windows.
1 parent 93e3aca commit db157e3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

main/php_compat.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,4 @@
393393
#define XML_NS 1
394394
#endif
395395

396-
#ifdef PHP_EXPORTS
397-
#define PCRE_STATIC
398-
#endif
399-
400396
#endif

0 commit comments

Comments
 (0)