summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2011-09-15 00:44:51 +0200
committerGravatar Martin Szulecki2012-03-19 01:43:43 +0100
commit7acb8ecfd05353388d22f7a548dc15bc4134b8a3 (patch)
treee7f4dd91542b8062568e9fa22a0e668d6d88eefb
parent621c77a689986e94bf79a524adbe124bef221860 (diff)
downloadlibimobiledevice-7acb8ecfd05353388d22f7a548dc15bc4134b8a3.tar.gz
libimobiledevice-7acb8ecfd05353388d22f7a548dc15bc4134b8a3.tar.bz2
win32: fix idevicesyslog building
-rw-r--r--tools/idevicesyslog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c
index d306bfc..3fc7922 100644
--- a/tools/idevicesyslog.c
+++ b/tools/idevicesyslog.c
@@ -53,9 +53,11 @@ int main(int argc, char *argv[])
uuid[0] = 0;
signal(SIGINT, clean_exit);
- signal(SIGQUIT, clean_exit);
signal(SIGTERM, clean_exit);
+#ifndef WIN32
+ signal(SIGQUIT, clean_exit);
signal(SIGPIPE, SIG_IGN);
+#endif
/* parse cmdline args */
for (i = 1; i < argc; i++) {