From cf933ed410fac5789d44d81f2751690e59e2a5f2 Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Wed, 6 Sep 2006 21:48:57 +0000 Subject: [PATCH] MFB: Fixed bug #38190 (threading issues on windows 2003) --- ext/libxml/libxml.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c index 06d11a13115..15974c69f7f 100644 --- a/ext/libxml/libxml.c +++ b/ext/libxml/libxml.c @@ -1043,6 +1043,13 @@ void php_libxml_node_decrement_resource(php_libxml_node_object *object TSRMLS_DC } /* }}} */ +#ifdef PHP_WIN32 +PHP_LIBXML_API BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + return xmlDllMain(hinstDLL, fdwReason, lpvReserved); +} +#endif + #endif /*