[win32] Protect usage of SIGHUP with #ifdef
[platform/upstream/dbus.git] / tools / dbus-launch.c
index 216f743..139d0aa 100644 (file)
@@ -402,7 +402,9 @@ signal_handler (int sig)
 {
   switch (sig)
     {
+#ifdef SIGHUP
     case SIGHUP:
+#endif
     case SIGTERM:
       got_sighup = TRUE;
       break;