summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2008-09-18 19:40:50 -0400
committerColin Walters <walters@verbum.org>2009-01-06 19:57:52 -0500
commitfa6d87f92723e6f458069a7da635493c300fe8c6 (patch)
tree890ae16b5c20e96fcfc1f4daaee84b80bc65716c /tools
parent8779807464ec46449c6b47234927c1568b75f8d6 (diff)
[win32] Protect usage of SIGHUP with #ifdef
Signed-off-by: Colin Walters <walters@verbum.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/dbus-launch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c
index 216f7435..139d0aaf 100644
--- a/tools/dbus-launch.c
+++ b/tools/dbus-launch.c
@@ -402,7 +402,9 @@ signal_handler (int sig)
{
switch (sig)
{
+#ifdef SIGHUP
case SIGHUP:
+#endif
case SIGTERM:
got_sighup = TRUE;
break;