--- threads.c.orig 2009-09-10 17:03:39.000000000 +0200 +++ threads.c 2009-09-11 19:00:59.660192916 +0200 @@ -993,7 +993,7 @@ #elif defined(HAVE_WIN32_THREADS) && !defined(HAVE_COMPILER_TLS) && (!defined(LIBXML_STATIC) || defined(LIBXML_STATIC_FOR_DLL)) #if defined(LIBXML_STATIC_FOR_DLL) BOOL XMLCALL -xmlDllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +xmlDllMain(void *hinstDLL, unsigned long fdwReason, void *lpvReserved) #else BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)