Commit db157e31686 for php.net
commit db157e3168624ded7f24bfadec974810b54e793b
Author: Peter Kokot <peterkokot@gmail.com>
Date: Sun Jun 29 20:56:07 2025 +0200
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.
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