diff options
author | Anatol Belski <ab@php.net> | 2014-10-17 15:51:21 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-10-17 15:51:21 +0200 |
commit | 4fce2ae2c64b61e5ef7cdbdb631b8d5691d1b31f (patch) | |
tree | c1e4941189f82e6575fb57de7b0d047404fd0a38 /ext/intl/php_intl.h | |
parent | 5749b4a9979cd3ff85996323bed9adc1bd182f76 (diff) | |
download | php-git-4fce2ae2c64b61e5ef7cdbdb631b8d5691d1b31f.tar.gz |
opcache, intl, gmp, exif, com, bcmath to use static tsrmls
Diffstat (limited to 'ext/intl/php_intl.h')
-rw-r--r-- | ext/intl/php_intl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/intl/php_intl.h b/ext/intl/php_intl.h index 3625c4fdcc..265cdb7b9e 100644 --- a/ext/intl/php_intl.h +++ b/ext/intl/php_intl.h @@ -56,7 +56,10 @@ ZEND_END_MODULE_GLOBALS(intl) /* Macro to access request-wide global variables. */ #ifdef ZTS -#define INTL_G(v) TSRMG(intl_globals_id, zend_intl_globals *, v) +#define INTL_G(v) ZEND_TSRMG(intl_globals_id, zend_intl_globals *, v) +#ifdef COMPILE_DL_INTL +ZEND_TSRMLS_CACHE_EXTERN; +#endif #else #define INTL_G(v) (intl_globals.v) #endif |