diff options
-rw-r--r-- | src/idevice.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 <windows.h> -int APIENTRY DllMain(HANDLE hModule, DWORD dwReason, LPVOID lpReserved); #endif #include <usbmuxd.h> @@ -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: |