diff options
| author | 2024-11-27 12:01:18 +0100 | |
|---|---|---|
| committer | 2024-11-29 14:36:34 +0100 | |
| commit | bcced6c4f6a79e09ed3961632b2faf81fe873137 (patch) | |
| tree | 71bb6a70a3438c68229e4906e6bce14974a9aee8 /tools/idevicedebugserverproxy.c | |
| parent | ba829e6f1a62bdad7866572d1e2cff1836ced742 (diff) | |
| download | libimobiledevice-bcced6c4f6a79e09ed3961632b2faf81fe873137.tar.gz libimobiledevice-bcced6c4f6a79e09ed3961632b2faf81fe873137.tar.bz2 | |
Fix attempts to detect Windows using _WIN32
Diffstat (limited to 'tools/idevicedebugserverproxy.c')
| -rw-r--r-- | tools/idevicedebugserverproxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/idevicedebugserverproxy.c b/tools/idevicedebugserverproxy.c index 9fe7051..fb082b3 100644 --- a/tools/idevicedebugserverproxy.c +++ b/tools/idevicedebugserverproxy.c | |||
| @@ -32,7 +32,7 @@ | |||
| 32 | #include <getopt.h> | 32 | #include <getopt.h> |
| 33 | #include <errno.h> | 33 | #include <errno.h> |
| 34 | #include <signal.h> | 34 | #include <signal.h> |
| 35 | #ifdef WIN32 | 35 | #ifdef _WIN32 |
| 36 | #include <winsock2.h> | 36 | #include <winsock2.h> |
| 37 | #include <windows.h> | 37 | #include <windows.h> |
| 38 | #else | 38 | #else |
| @@ -219,7 +219,7 @@ int main(int argc, char *argv[]) | |||
| 219 | { NULL, 0, NULL, 0} | 219 | { NULL, 0, NULL, 0} |
| 220 | }; | 220 | }; |
| 221 | 221 | ||
| 222 | #ifndef WIN32 | 222 | #ifndef _WIN32 |
| 223 | struct sigaction sa; | 223 | struct sigaction sa; |
| 224 | struct sigaction si; | 224 | struct sigaction si; |
| 225 | memset(&sa, '\0', sizeof(struct sigaction)); | 225 | memset(&sa, '\0', sizeof(struct sigaction)); |
