]> granicus.if.org Git - php/commitdiff
Sync with ZEND_ENABLE_STATIC_TSRMLS_CACHE enablement in ext/mbstring
authorAnatol Belski <ab@php.net>
Tue, 12 Mar 2019 20:33:43 +0000 (21:33 +0100)
committerAnatol Belski <ab@php.net>
Tue, 12 Mar 2019 20:33:43 +0000 (21:33 +0100)
ext/mbstring/config.w32

index 4a6c4e9e4b317539e81880bbd57f0e8818b8c28d..17389aedf0ad4a830b52ef64f3c7e96d952a02d5 100644 (file)
@@ -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...");