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/gmp/php_gmp.h | |
| parent | 5749b4a9979cd3ff85996323bed9adc1bd182f76 (diff) | |
| download | php-git-4fce2ae2c64b61e5ef7cdbdb631b8d5691d1b31f.tar.gz | |
opcache, intl, gmp, exif, com, bcmath to use static tsrmls
Diffstat (limited to 'ext/gmp/php_gmp.h')
| -rw-r--r-- | ext/gmp/php_gmp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/gmp/php_gmp.h b/ext/gmp/php_gmp.h index f9bc0f3269..7e8e51b291 100644 --- a/ext/gmp/php_gmp.h +++ b/ext/gmp/php_gmp.h @@ -92,7 +92,10 @@ ZEND_BEGIN_MODULE_GLOBALS(gmp) ZEND_END_MODULE_GLOBALS(gmp) #ifdef ZTS -#define GMPG(v) TSRMG(gmp_globals_id, zend_gmp_globals *, v) +#define GMPG(v) ZEND_TSRMG(gmp_globals_id, zend_gmp_globals *, v) +#ifdef COMPILE_DL_GMP +ZEND_TSRMLS_CACHE_EXTERN; +#endif #else #define GMPG(v) (gmp_globals.v) #endif |
