From b2c9eede175c2e4ea054fbc0e4514560c2bab39c Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 5 Jun 2014 02:16:08 +0200 Subject: idevice: win32: Use correct signature for DllMain() --- src/idevice.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/idevice.c b/src/idevice.c index eed02fc..3b903c0 100644 --- a/src/idevice.c +++ b/src/idevice.c @@ -31,7 +31,6 @@ #ifdef WIN32 #include -int APIENTRY DllMain(HANDLE hModule, DWORD dwReason, LPVOID lpReserved); #endif #include @@ -101,7 +100,7 @@ static thread_once_t init_once = THREAD_ONCE_INIT; static thread_once_t deinit_once = THREAD_ONCE_INIT; #ifdef WIN32 -int APIENTRY DllMain(HANDLE hModule, DWORD dwReason, LPVOID lpReserved) +BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved) { switch (dwReason) { case DLL_PROCESS_ATTACH: -- cgit v1.1-32-gdbae