Commit 266fdfcd authored by Anton Mitrofanov's avatar Anton Mitrofanov Committed by Fiona Glaser

Fix compilation of shared library for Windows with original MinGW toolchain

parent 50a0c33b
......@@ -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 )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment