diff options
author | Nils Durner <durner@gnunet.org> | 2007-06-15 14:30:41 +0000 |
---|---|---|
committer | Nils Durner <durner@gnunet.org> | 2007-06-15 14:30:41 +0000 |
commit | e96a7669c8d2c188db1e0aed50440ddfed70c94f (patch) | |
tree | 7669ad1777441a56a8f80c81d0a2157b9ce40fb3 /src/daemon/daemon.c | |
parent | 74770d3cc13e56db19f47495e57671eaaed6a957 (diff) | |
download | libmicrohttpd-e96a7669c8d2c188db1e0aed50440ddfed70c94f.tar.gz libmicrohttpd-e96a7669c8d2c188db1e0aed50440ddfed70c94f.zip |
builds on Win32
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 */ |