From eda099889438813bcddac3718a231ee86bbbb028 Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Tue, 23 Oct 2018 12:55:07 +0200 Subject: [PATCH] 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. --- lib/transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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