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: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=44b9b6d480eb91cd56d262088d7a9fa5af02338a;p=x264.git 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 )