From db157e3168624ded7f24bfadec974810b54e793b Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sun, 29 Jun 2025 20:56:07 +0200 Subject: [PATCH] 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. --- main/php_compat.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main/php_compat.h b/main/php_compat.h index 438ada44eda..2f9f4c1c89e 100644 --- a/main/php_compat.h +++ b/main/php_compat.h @@ -393,8 +393,4 @@ #define XML_NS 1 #endif -#ifdef PHP_EXPORTS -#define PCRE_STATIC -#endif - #endif