From: Gisle Vanem Date: Tue, 23 Oct 2018 10:55:07 +0000 (+0200) Subject: Fix for compiling with lwIP (3) X-Git-Tag: curl-7_62_0~40 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eda099889438813bcddac3718a231ee86bbbb028;p=curl 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. --- 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