aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_send.c')
-rw-r--r--src/microhttpd/mhd_send.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index 441f7e7d..7826cbc3 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -115,7 +115,7 @@ static void
115pre_cork_setsockopt (struct MHD_Connection *connection, 115pre_cork_setsockopt (struct MHD_Connection *connection,
116 bool want_cork) 116 bool want_cork)
117{ 117{
118#if HAVE_MSG_MORE 118#ifdef MHD_USE_MSG_MORE
119 /* We use the MSG_MORE option for corking, no need for extra syscalls! */ 119 /* We use the MSG_MORE option for corking, no need for extra syscalls! */
120 120
121 (void) connection; /* Mute compiler warning. */ 121 (void) connection; /* Mute compiler warning. */
@@ -204,7 +204,7 @@ static void
204post_cork_setsockopt (struct MHD_Connection *connection, 204post_cork_setsockopt (struct MHD_Connection *connection,
205 bool want_cork) 205 bool want_cork)
206{ 206{
207#if HAVE_MSG_MORE 207#ifdef MHD_USE_MSG_MORE
208 /* We use the MSG_MORE option for corking, no need for extra syscalls! */ 208 /* We use the MSG_MORE option for corking, no need for extra syscalls! */
209 209
210 (void) connection; /* Mute compiler warning. */ 210 (void) connection; /* Mute compiler warning. */
@@ -398,7 +398,7 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
398 bool new_cork_state; 398 bool new_cork_state;
399 399
400 pre_cork_setsockopt (connection, want_cork); 400 pre_cork_setsockopt (connection, want_cork);
401#if HAVE_MSG_MORE 401#ifdef MHD_USE_MSG_MORE
402 ret = send (s, 402 ret = send (s,
403 buffer, 403 buffer,
404 buffer_size, 404 buffer_size,