Wireshark-dev: [Wireshark-dev] [Patch] trigcap.c

From: Gisle Vanem <gvanem@xxxxxxxxxxxx>
Date: Sat, 25 Aug 2007 17:09:17 +0200
Some signals needs to be ifdef'ed (missing on VC/MingW):

--- SVN-Latest/trigcap.c        Sat Jul 28 15:44:35 2007
+++ trigcap.c   Wed Aug 22 14:42:30 2007
@@ -249,9 +249,15 @@
       dprintf(2,"opened dumper file '%s'\n",outfile);

       signal(SIGINT, sig_int);
+#ifdef SIGQUIT
       signal(SIGQUIT, sig_int);
+#endif
+#ifdef SIGTERM
       signal(SIGTERM, sig_int);
+#endif
+#ifdef SIGSTOP
       signal(SIGSTOP, sig_int);
+#endif

       keep_going = 1;
       dumping = 0;

--gv