diff options
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 @@ | |||
| 30 | #include <errno.h> | 30 | #include <errno.h> |
| 31 | #include <time.h> | 31 | #include <time.h> |
| 32 | 32 | ||
| 33 | #ifdef WIN32 | 33 | #ifdef _WIN32 |
| 34 | #include <winsock2.h> | 34 | #include <winsock2.h> |
| 35 | #include <ws2tcpip.h> | 35 | #include <ws2tcpip.h> |
| 36 | #include <windows.h> | 36 | #include <windows.h> |
| @@ -1338,7 +1338,7 @@ idevice_error_t idevice_connection_enable_ssl(idevice_connection_t connection) | |||
| 1338 | if (ssl_error == 0 || ssl_error != SSL_ERROR_WANT_READ) { | 1338 | if (ssl_error == 0 || ssl_error != SSL_ERROR_WANT_READ) { |
| 1339 | break; | 1339 | break; |
| 1340 | } | 1340 | } |
| 1341 | #ifdef WIN32 | 1341 | #ifdef _WIN32 |
| 1342 | Sleep(100); | 1342 | Sleep(100); |
| 1343 | #else | 1343 | #else |
| 1344 | struct timespec ts = { 0, 100000000 }; | 1344 | struct timespec ts = { 0, 100000000 }; |
