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>2008-09-18 19:40:50 -0400
commite2decdf0f1d3ce9c845f98afad9452afb0291ab3 (patch)
tree28e863c3ad4c7adcbb7a26d579ad88de89a7a603 /tools
parent99ccfb952af9766148cb33f2900e86cab06d5556 (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;