summaryrefslogtreecommitdiff
path: root/ext/libxml
diff options
context:
space:
mode:
Diffstat (limited to 'ext/libxml')
-rw-r--r--ext/libxml/libxml.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c
index 0fa250d32a..d178cbc23d 100644
--- a/ext/libxml/libxml.c
+++ b/ext/libxml/libxml.c
@@ -1033,6 +1033,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
/*