diff options
Diffstat (limited to 'src/daemon/daemon.c')
-rw-r--r-- | src/daemon/daemon.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index 3b2ebab0..34f76ce7 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c | |||
@@ -620,7 +620,16 @@ void __attribute__ ((destructor)) MHD_pthread_handlers_ltdl_fini () | |||
620 | { | 620 | { |
621 | sigaction (SIGALRM, &old, &sig); | 621 | sigaction (SIGALRM, &old, &sig); |
622 | } | 622 | } |
623 | #else | ||
624 | void __attribute__ ((constructor)) MHD_win_ltdl_init () | ||
625 | { | ||
626 | plibc_init("CRISP", "libmicrohttpd"); | ||
627 | } | ||
623 | 628 | ||
629 | void __attribute__ ((destructor)) MHD_win_ltdl_fini () | ||
630 | { | ||
631 | plibc_shutdown(); | ||
632 | } | ||
624 | #endif | 633 | #endif |
625 | 634 | ||
626 | /* end of daemon.c */ | 635 | /* end of daemon.c */ |