commit b2bd7b67201f8fdb181729b50ed9fa8d03c47deb parent 62410ce9504ab1aaea52c59a0b9b2b95e7885778 Author: Nils Durner <durner@gnunet.org> Date: Tue, 14 Aug 2007 21:15:09 +0000 plibc Diffstat:
| M | src/daemon/daemon.c | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c @@ -620,7 +620,16 @@ void __attribute__ ((destructor)) MHD_pthread_handlers_ltdl_fini () { sigaction (SIGALRM, &old, &sig); } +#else +void __attribute__ ((constructor)) MHD_win_ltdl_init () +{ + plibc_init("CRISP", "libmicrohttpd"); +} +void __attribute__ ((destructor)) MHD_win_ltdl_fini () +{ + plibc_shutdown(); +} #endif /* end of daemon.c */