aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/daemon.c
diff options
context:
space:
mode:
authorNils Durner <durner@gnunet.org>2007-06-15 14:30:41 +0000
committerNils Durner <durner@gnunet.org>2007-06-15 14:30:41 +0000
commite96a7669c8d2c188db1e0aed50440ddfed70c94f (patch)
tree7669ad1777441a56a8f80c81d0a2157b9ce40fb3 /src/daemon/daemon.c
parent74770d3cc13e56db19f47495e57671eaaed6a957 (diff)
downloadlibmicrohttpd-e96a7669c8d2c188db1e0aed50440ddfed70c94f.tar.gz
libmicrohttpd-e96a7669c8d2c188db1e0aed50440ddfed70c94f.zip
builds on Win32
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) {
561 free(daemon); 561 free(daemon);
562} 562}
563 563
564#ifndef WINDOWS
565
564static struct sigaction sig; 566static struct sigaction sig;
565 567
566static struct sigaction old; 568static 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 */