diff options
author | Zeev Suraski <zeev@php.net> | 2001-07-28 11:36:37 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-07-28 11:36:37 +0000 |
commit | d87cc976e1156b839fc6d4aa6b473a126802b8e3 (patch) | |
tree | 8acb068dd7458e1c8df3a7d8ecb87d065990fdb1 /ext/xml/php_xml.h | |
parent | b4f3b9d3ce9f55cf040fb5aa8f201c64646cab43 (diff) | |
download | php-git-d87cc976e1156b839fc6d4aa6b473a126802b8e3.tar.gz |
Redesigned thread safety mechanism - nua nua
Diffstat (limited to 'ext/xml/php_xml.h')
-rw-r--r-- | ext/xml/php_xml.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/ext/xml/php_xml.h b/ext/xml/php_xml.h index ed2f709793..809c86a61f 100644 --- a/ext/xml/php_xml.h +++ b/ext/xml/php_xml.h @@ -139,19 +139,9 @@ PHPAPI char *xml_utf8_decode(const XML_Char *, int, int *, const XML_Char *); #define phpext_xml_ptr xml_module_ptr #ifdef ZTS -#define XMLLS_D php_xml_globals *xml_globals -#define XMLLS_DC , PSLS_D -#define XMLLS_C xml_globals -#define XMLLS_CC , XMLLS_C -#define XML(v) (xml_globals->v) -#define XMLLS_FETCH() php_xml_globals *xml_globals = ts_resource(xml_globals_id) +#define XML(v) TSRMG(xml_globals_id, php_xml_globals *, v) #else -#define XMLLS_D -#define XMLLS_DC -#define XMLLS_C -#define XMLLS_CC #define XML(v) (xml_globals.v) -#define XMLLS_FETCH() #endif #endif /* PHP_XML_H */ |