diff options
author | 2024-11-27 12:01:18 +0100 | |
---|---|---|
committer | 2024-11-29 14:36:34 +0100 | |
commit | bcced6c4f6a79e09ed3961632b2faf81fe873137 (patch) | |
tree | 71bb6a70a3438c68229e4906e6bce14974a9aee8 /src/idevice.c | |
parent | ba829e6f1a62bdad7866572d1e2cff1836ced742 (diff) | |
download | libimobiledevice-bcced6c4f6a79e09ed3961632b2faf81fe873137.tar.gz libimobiledevice-bcced6c4f6a79e09ed3961632b2faf81fe873137.tar.bz2 |
Fix attempts to detect Windows using _WIN32
Diffstat (limited to 'src/idevice.c')
-rw-r--r-- | src/idevice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/idevice.c b/src/idevice.c index d4ecf60..b14db66 100644 --- a/src/idevice.c +++ b/src/idevice.c @@ -30,7 +30,7 @@ #include <errno.h> #include <time.h> -#ifdef WIN32 +#ifdef _WIN32 #include <winsock2.h> #include <ws2tcpip.h> #include <windows.h> @@ -1338,7 +1338,7 @@ idevice_error_t idevice_connection_enable_ssl(idevice_connection_t connection) if (ssl_error == 0 || ssl_error != SSL_ERROR_WANT_READ) { break; } -#ifdef WIN32 +#ifdef _WIN32 Sleep(100); #else struct timespec ts = { 0, 100000000 }; |