From: Anton Mitrofanov Date: Sat, 12 Oct 2013 08:01:57 +0000 (+0400) Subject: Fix compilation of shared library for Windows with original MinGW toolchain X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=266fdfcd4809afb018e45ab959d4a56a42712c88;p=libx264 Fix compilation of shared library for Windows with original MinGW toolchain --- diff --git a/x264dll.c b/x264dll.c index cc0d4d39..ae4a81ac 100644 --- a/x264dll.c +++ b/x264dll.c @@ -27,7 +27,7 @@ #include /* 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 )