vlc | branch: master | Steve Lhomme <[email protected]> | Wed Jan 30 09:34:28 2019 +0100| [a509823fb596314603a3bd9768f6b9b26458d4f3] | committer: Steve Lhomme
win32: use the official prototype for DllMain > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a509823fb596314603a3bd9768f6b9b26458d4f3 --- src/win32/thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/win32/thread.c b/src/win32/thread.c index 5438e82562..37f2aa28e7 100644 --- a/src/win32/thread.c +++ b/src/win32/thread.c @@ -29,6 +29,7 @@ # include "config.h" #endif +#define _DECL_DLLMAIN #include <vlc_common.h> #include "libvlc.h" @@ -997,9 +998,8 @@ void vlc_threads_setup(libvlc_int_t *vlc) #define LOOKUP(s) (((s##_) = (void *)GetProcAddress(h, #s)) != NULL) extern vlc_rwlock_t config_lock; -BOOL WINAPI DllMain (HINSTANCE, DWORD, LPVOID); -BOOL WINAPI DllMain (HINSTANCE hinstDll, DWORD fdwReason, LPVOID lpvReserved) +BOOL WINAPI DllMain (HANDLE hinstDll, DWORD fdwReason, LPVOID lpvReserved) { (void) hinstDll; (void) lpvReserved; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
