diff options
Diffstat (limited to 'src/daemon/daemon.c')
-rw-r--r-- | src/daemon/daemon.c | 4 |
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) { | |||
561 | free(daemon); | 561 | free(daemon); |
562 | } | 562 | } |
563 | 563 | ||
564 | #ifndef WINDOWS | ||
565 | |||
564 | static struct sigaction sig; | 566 | static struct sigaction sig; |
565 | 567 | ||
566 | static struct sigaction old; | 568 | static struct sigaction old; |
@@ -584,4 +586,6 @@ void __attribute__ ((destructor)) pthread_handlers_ltdl_fini() { | |||
584 | sigaction(SIGALRM, &old, &sig); | 586 | sigaction(SIGALRM, &old, &sig); |
585 | } | 587 | } |
586 | 588 | ||
589 | #endif | ||
590 | |||
587 | /* end of daemon.c */ | 591 | /* end of daemon.c */ |