aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGisle Vanem <gisle.vanem@gmail.com>2018-10-23 12:55:07 +0200
committerGitHub <noreply@github.com>2018-10-23 12:55:07 +0200
commiteda099889438813bcddac3718a231ee86bbbb028 (patch)
tree05337245194faab17e9896117740ba6f952711b1 /lib
parent6535b9303df83eb3f1e95fded0d778e51d9aa50c (diff)
Fix for compiling with lwIP (3)
lwIP on Windows does not have a WSAIoctl() function. But it do have a SO_SNDBUF option to lwip_setsockopt(). But it currently does nothing.
Diffstat (limited to 'lib')
-rw-r--r--lib/transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index c7f4ef9f3..b73f94d9e 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -879,7 +879,7 @@ static CURLcode done_sending(struct connectdata *conn,
return CURLE_OK;
}
-#ifdef WIN32
+#if defined(WIN32) && !defined(USE_LWIPSOCK)
#ifndef SIO_IDEAL_SEND_BACKLOG_QUERY
#define SIO_IDEAL_SEND_BACKLOG_QUERY 0x4004747B
#endif