mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
ext/libxml, ext/xml and ext/soap use static tsrmls pointer
This commit is contained in:
parent
fea10f6a5e
commit
5749b4a997
12 changed files with 36 additions and 9 deletions
|
@ -142,7 +142,10 @@ PHPAPI zend_string *xml_utf8_encode(const char *, size_t, const XML_Char *);
|
|||
#define phpext_xml_ptr xml_module_ptr
|
||||
|
||||
#ifdef ZTS
|
||||
#define XML(v) TSRMG(xml_globals_id, zend_xml_globals *, v)
|
||||
#define XML(v) ZEND_TSRMG(xml_globals_id, zend_xml_globals *, v)
|
||||
#ifdef COMPILE_DL_XML
|
||||
ZEND_TSRMLS_CACHE_EXTERN;
|
||||
#endif
|
||||
#else
|
||||
#define XML(v) (xml_globals.v)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue