diff options
author | Anatol Belski <ab@php.net> | 2014-10-17 14:31:17 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-10-17 14:31:17 +0200 |
commit | 5749b4a9979cd3ff85996323bed9adc1bd182f76 (patch) | |
tree | aa14675bcd4d43bd6c7d7ba2dff595cb970b54b0 /ext/libxml/php_libxml.h | |
parent | fea10f6a5e5ff4d22adea5fd04476a88d4f76db8 (diff) | |
download | php-git-5749b4a9979cd3ff85996323bed9adc1bd182f76.tar.gz |
ext/libxml, ext/xml and ext/soap use static tsrmls pointer
Diffstat (limited to 'ext/libxml/php_libxml.h')
-rw-r--r-- | ext/libxml/php_libxml.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/libxml/php_libxml.h b/ext/libxml/php_libxml.h index cccc83f8db..ed5a5a70db 100644 --- a/ext/libxml/php_libxml.h +++ b/ext/libxml/php_libxml.h @@ -113,7 +113,10 @@ PHP_LIBXML_API void php_libxml_initialize(void); PHP_LIBXML_API void php_libxml_shutdown(void); #ifdef ZTS -#define LIBXML(v) TSRMG(libxml_globals_id, zend_libxml_globals *, v) +#define LIBXML(v) ZEND_TSRMG(libxml_globals_id, zend_libxml_globals *, v) +#ifdef COMPILE_DL_LIBXML +ZEND_TSRMLS_CACHE_EXTERN; +#endif #else #define LIBXML(v) (libxml_globals.v) #endif |