diff options
| author | 2024-11-27 12:01:18 +0100 | |
|---|---|---|
| committer | 2024-11-29 14:36:34 +0100 | |
| commit | bcced6c4f6a79e09ed3961632b2faf81fe873137 (patch) | |
| tree | 71bb6a70a3438c68229e4906e6bce14974a9aee8 /tools/idevicediagnostics.c | |
| parent | ba829e6f1a62bdad7866572d1e2cff1836ced742 (diff) | |
| download | libimobiledevice-bcced6c4f6a79e09ed3961632b2faf81fe873137.tar.gz libimobiledevice-bcced6c4f6a79e09ed3961632b2faf81fe873137.tar.bz2 | |
Fix attempts to detect Windows using _WIN32
Diffstat (limited to 'tools/idevicediagnostics.c')
| -rw-r--r-- | tools/idevicediagnostics.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/idevicediagnostics.c b/tools/idevicediagnostics.c index e699bc4..365c0a4 100644 --- a/tools/idevicediagnostics.c +++ b/tools/idevicediagnostics.c | |||
| @@ -31,7 +31,7 @@ | |||
| 31 | #include <getopt.h> | 31 | #include <getopt.h> |
| 32 | #include <errno.h> | 32 | #include <errno.h> |
| 33 | #include <time.h> | 33 | #include <time.h> |
| 34 | #ifndef WIN32 | 34 | #ifndef _WIN32 |
| 35 | #include <signal.h> | 35 | #include <signal.h> |
| 36 | #endif | 36 | #endif |
| 37 | 37 | ||
| @@ -113,7 +113,7 @@ int main(int argc, char **argv) | |||
| 113 | { NULL, 0, NULL, 0} | 113 | { NULL, 0, NULL, 0} |
| 114 | }; | 114 | }; |
| 115 | 115 | ||
| 116 | #ifndef WIN32 | 116 | #ifndef _WIN32 |
| 117 | signal(SIGPIPE, SIG_IGN); | 117 | signal(SIGPIPE, SIG_IGN); |
| 118 | #endif | 118 | #endif |
| 119 | /* parse cmdline args */ | 119 | /* parse cmdline args */ |
