summaryrefslogtreecommitdiffstats
path: root/tools/idevicesyslog.c
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 /tools/idevicesyslog.c
parent621c77a689986e94bf79a524adbe124bef221860 (diff)
downloadlibimobiledevice-7acb8ecfd05353388d22f7a548dc15bc4134b8a3.tar.gz
libimobiledevice-7acb8ecfd05353388d22f7a548dc15bc4134b8a3.tar.bz2
win32: fix idevicesyslog building
Diffstat (limited to 'tools/idevicesyslog.c')
-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[])
53 uuid[0] = 0; 53 uuid[0] = 0;
54 54
55 signal(SIGINT, clean_exit); 55 signal(SIGINT, clean_exit);
56 signal(SIGQUIT, clean_exit);
57 signal(SIGTERM, clean_exit); 56 signal(SIGTERM, clean_exit);
57#ifndef WIN32
58 signal(SIGQUIT, clean_exit);
58 signal(SIGPIPE, SIG_IGN); 59 signal(SIGPIPE, SIG_IGN);
60#endif
59 61
60 /* parse cmdline args */ 62 /* parse cmdline args */
61 for (i = 1; i < argc; i++) { 63 for (i = 1; i < argc; i++) {