From 5b83823ef36d4fe43094dd72969adf0fc68d7e64 Mon Sep 17 00:00:00 2001 From: ng0 Date: Tue, 30 Jul 2019 08:31:41 +0000 Subject: Add MSG_MORE detection. --- src/microhttpd/mhd_send.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/microhttpd/mhd_send.c') diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c index 6637d2d2..8eec8234 100644 --- a/src/microhttpd/mhd_send.c +++ b/src/microhttpd/mhd_send.c @@ -21,7 +21,7 @@ /** * @file microhttpd/mhd_send.c * @brief Implementation of send() wrappers. - * @author ng0 + * @author ng0 (N. Gillmann) * @author Christian Grothoff * @author Evgeny Grin */ @@ -48,7 +48,7 @@ static void pre_cork_setsockopt (struct MHD_Connection *connection, bool want_cork) { -#if MSG_MORE +#if HAVE_MSG_MORE #else int ret; const MHD_SCKT_OPT_BOOL_ off_val = 0; @@ -101,7 +101,7 @@ static void post_cork_setsockopt (struct MHD_Connection *connection, bool want_cork) { -#if MSG_MORE +#if HAVE_MSG_MORE #else int ret; const MHD_SCKT_OPT_BOOL_ off_val = 0; -- cgit v1.2.3