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 @@ | |||
| 31 | 31 | ||
| 32 | #ifdef WIN32 | 32 | #ifdef WIN32 |
| 33 | #include <windows.h> | 33 | #include <windows.h> |
| 34 | int APIENTRY DllMain(HANDLE hModule, DWORD dwReason, LPVOID lpReserved); | ||
| 35 | #endif | 34 | #endif |
| 36 | 35 | ||
| 37 | #include <usbmuxd.h> | 36 | #include <usbmuxd.h> |
| @@ -101,7 +100,7 @@ static thread_once_t init_once = THREAD_ONCE_INIT; | |||
| 101 | static thread_once_t deinit_once = THREAD_ONCE_INIT; | 100 | static thread_once_t deinit_once = THREAD_ONCE_INIT; |
| 102 | 101 | ||
| 103 | #ifdef WIN32 | 102 | #ifdef WIN32 |
| 104 | int APIENTRY DllMain(HANDLE hModule, DWORD dwReason, LPVOID lpReserved) | 103 | BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved) |
| 105 | { | 104 | { |
| 106 | switch (dwReason) { | 105 | switch (dwReason) { |
| 107 | case DLL_PROCESS_ATTACH: | 106 | case DLL_PROCESS_ATTACH: |
