From: Anatol Belski Date: Tue, 12 Mar 2019 20:33:43 +0000 (+0100) Subject: Sync with ZEND_ENABLE_STATIC_TSRMLS_CACHE enablement in ext/mbstring X-Git-Tag: php-7.4.0alpha1~769 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e10349152bafa359d69efcd4b3ab8e3db16e8004;p=php Sync with ZEND_ENABLE_STATIC_TSRMLS_CACHE enablement in ext/mbstring --- diff --git a/ext/mbstring/config.w32 b/ext/mbstring/config.w32 index 4a6c4e9e4b..17389aedf0 100644 --- a/ext/mbstring/config.w32 +++ b/ext/mbstring/config.w32 @@ -10,7 +10,7 @@ if (PHP_MBSTRING != "no") { EXTENSION("mbstring", "mbstring.c php_unicode.c mb_gpc.c", PHP_MBSTRING_SHARED); /* XXX libonig is only usable as a static library ATM, code change required to link with a DLL. */ - ADD_FLAG("CFLAGS_MBSTRING", "/DONIG_EXTERN=extern /DPHP_ONIG_BAD_KOI8_ENTRY=1"); + ADD_FLAG("CFLAGS_MBSTRING", "/DONIG_EXTERN=extern /DPHP_ONIG_BAD_KOI8_ENTRY=1 /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"); STDOUT.WriteLine("Using bundled libmbfl...");