Fix compilation of shared library for Windows with original MinGW toolchain
This commit is contained in:
committed by
Fiona Glaser
parent
50a0c33b9b
commit
266fdfcd48
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user