diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-05-08 16:01:50 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-05-08 16:01:50 +0000 |
commit | 83ad8e3ae38c6f3b43ab9cc956ec26e98b3b0c66 (patch) | |
tree | 1a38a425d56bb8c478c9635ef1a9d2e8f120e767 /ext/xml/xml.c | |
parent | e911b391580bfabedb8f7cddf064ae4999ea3f16 (diff) | |
download | php-git-83ad8e3ae38c6f3b43ab9cc956ec26e98b3b0c66.tar.gz |
Added initialisation for thread safety
Diffstat (limited to 'ext/xml/xml.c')
-rw-r--r-- | ext/xml/xml.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/xml/xml.c b/ext/xml/xml.c index 699257de16..4d394ab2b8 100644 --- a/ext/xml/xml.c +++ b/ext/xml/xml.c @@ -227,6 +227,9 @@ PHP_MINIT_FUNCTION(xml) php_xml_mem_hdlrs.realloc_fcn = php_xml_realloc_wrapper; php_xml_mem_hdlrs.free_fcn = php_xml_free_wrapper; +#ifdef LIBXML_EXPAT_COMPAT + xmlInitThreads(); +#endif return SUCCESS; } |