summaryrefslogtreecommitdiff
path: root/ext/bcmath/php_bcmath.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-10-17 15:51:21 +0200
committerAnatol Belski <ab@php.net>2014-10-17 15:51:21 +0200
commit4fce2ae2c64b61e5ef7cdbdb631b8d5691d1b31f (patch)
treec1e4941189f82e6575fb57de7b0d047404fd0a38 /ext/bcmath/php_bcmath.h
parent5749b4a9979cd3ff85996323bed9adc1bd182f76 (diff)
downloadphp-git-4fce2ae2c64b61e5ef7cdbdb631b8d5691d1b31f.tar.gz
opcache, intl, gmp, exif, com, bcmath to use static tsrmls
Diffstat (limited to 'ext/bcmath/php_bcmath.h')
-rw-r--r--ext/bcmath/php_bcmath.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/bcmath/php_bcmath.h b/ext/bcmath/php_bcmath.h
index 12098cff89..6647894bf0 100644
--- a/ext/bcmath/php_bcmath.h
+++ b/ext/bcmath/php_bcmath.h
@@ -49,7 +49,10 @@ ZEND_BEGIN_MODULE_GLOBALS(bcmath)
ZEND_END_MODULE_GLOBALS(bcmath)
#ifdef ZTS
-# define BCG(v) TSRMG(bcmath_globals_id, zend_bcmath_globals *, v)
+# define BCG(v) ZEND_TSRMG(bcmath_globals_id, zend_bcmath_globals *, v)
+# ifdef COMPILE_DL_BCMATH
+ZEND_TSRMLS_CACHE_EXTERN;
+# endif
#else
# define BCG(v) (bcmath_globals.v)
#endif