summaryrefslogtreecommitdiff
path: root/src/daemon/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/daemon.c')
-rw-r--r--src/daemon/daemon.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index e00d1c45..9aad7593 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -561,6 +561,8 @@ MHD_stop_daemon(struct MHD_Daemon * daemon) {
free(daemon);
}
+#ifndef WINDOWS
+
static struct sigaction sig;
static struct sigaction old;
@@ -584,4 +586,6 @@ void __attribute__ ((destructor)) pthread_handlers_ltdl_fini() {
sigaction(SIGALRM, &old, &sig);
}
+#endif
+
/* end of daemon.c */