commit f28b92fb812f74a835a785d3eb0397c6e0176029 parent b10f4140c68bd41ed600abf08b4990d79be598b4 Author: Evgeny Grin (Karlson2k) <k2k@narod.ru> Date: Mon, 12 Jun 2017 23:56:06 +0300 Warn about using debug builds. Diffstat:
| M | src/microhttpd/daemon.c | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c @@ -5280,6 +5280,11 @@ MHD_start_daemon_va (unsigned int flags, free (daemon); return NULL; } +#ifndef NDEBUG +#ifdef HAVE_MESSAGES + MHD_DLOG (daemon, _("Using debug build of libmicrohttpd.\n") ); +#endif /* HAVE_MESSAGES */ +#endif /* ! NDEBUG */ if ( (0 != (*pflags & MHD_USE_ITC)) && (0 == daemon->worker_pool_size) ) {