Fix compilation of shared library for Windows with original MinGW toolchain

This commit is contained in:
Anton Mitrofanov
2013-10-12 12:01:57 +04:00
committed by Fiona Glaser
parent 50a0c33b9b
commit 266fdfcd48
+1 -1
View File
@@ -27,7 +27,7 @@
#include <windows.h>
/* Callback for our DLL so we can initialize pthread */
BOOL WINAPI DllMain( HANDLE hinstDLL, DWORD fdwReason, LPVOID lpvReserved )
BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved )
{
#if PTW32_STATIC_LIB
switch( fdwReason )