From 3c6b746efa94db4c5121ceaac50ee64cf5f38dfd Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Fri, 27 Jun 2025 02:33:26 +0200 Subject: [PATCH] Remove redundant PCRE_STATIC definition 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 438ada44eda03..2f9f4c1c89e62 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