summaryrefslogtreecommitdiffstats
path: root/tools/ideviceimagemounter.c
diff options
context:
space:
mode:
authorGravatar Duncan Ogilvie2024-11-27 12:01:18 +0100
committerGravatar Nikias Bassen2024-11-29 14:36:34 +0100
commitbcced6c4f6a79e09ed3961632b2faf81fe873137 (patch)
tree71bb6a70a3438c68229e4906e6bce14974a9aee8 /tools/ideviceimagemounter.c
parentba829e6f1a62bdad7866572d1e2cff1836ced742 (diff)
downloadlibimobiledevice-bcced6c4f6a79e09ed3961632b2faf81fe873137.tar.gz
libimobiledevice-bcced6c4f6a79e09ed3961632b2faf81fe873137.tar.bz2
Fix attempts to detect Windows using _WIN32
Diffstat (limited to 'tools/ideviceimagemounter.c')
-rw-r--r--tools/ideviceimagemounter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ideviceimagemounter.c b/tools/ideviceimagemounter.c
index 511583e..8d6fc95 100644
--- a/tools/ideviceimagemounter.c
+++ b/tools/ideviceimagemounter.c
@@ -36,7 +36,7 @@
36#include <time.h> 36#include <time.h>
37#include <sys/time.h> 37#include <sys/time.h>
38#include <inttypes.h> 38#include <inttypes.h>
39#ifndef WIN32 39#ifndef _WIN32
40#include <signal.h> 40#include <signal.h>
41#endif 41#endif
42 42
@@ -183,7 +183,7 @@ int main(int argc, char **argv)
183 size_t image_size = 0; 183 size_t image_size = 0;
184 char *image_sig_path = NULL; 184 char *image_sig_path = NULL;
185 185
186#ifndef WIN32 186#ifndef _WIN32
187 signal(SIGPIPE, SIG_IGN); 187 signal(SIGPIPE, SIG_IGN);
188#endif 188#endif
189 parse_opts(argc, argv); 189 parse_opts(argc, argv);