diff options
author | Nikias Bassen | 2014-06-05 02:16:08 +0200 |
---|---|---|
committer | Nikias Bassen | 2014-06-05 02:16:08 +0200 |
commit | b2c9eede175c2e4ea054fbc0e4514560c2bab39c (patch) | |
tree | 3d9708c6be092ffca1733c8cf44674608a807cca | |
parent | 179bd812736f4b5ffea66a0e6ea42eb00a84a0c8 (diff) | |
download | libimobiledevice-b2c9eede175c2e4ea054fbc0e4514560c2bab39c.tar.gz libimobiledevice-b2c9eede175c2e4ea054fbc0e4514560c2bab39c.tar.bz2 |
idevice: win32: Use correct signature for DllMain()
-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: |