From: Gisle Vanem Date: Fri, 4 Jun 2021 10:16:57 +0000 (+0200) Subject: [Win32] Fix for USE_WATT32 X-Git-Tag: curl-7_78_0~207 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1838925aac4d6896945e54ad8a6723b039c9a118;p=thirdparty%2Fcurl.git [Win32] Fix for USE_WATT32 My Watt-32 tcp/ip stack works on Windows but it does not have `WSAIoctl()` --- diff --git a/lib/transfer.c b/lib/transfer.c index 3ea07c5e94..097d38d793 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -923,7 +923,7 @@ CURLcode Curl_done_sending(struct Curl_easy *data, return CURLE_OK; } -#if defined(WIN32) && !defined(USE_LWIPSOCK) +#if defined(WIN32) && defined(USE_WINSOCK) #ifndef SIO_IDEAL_SEND_BACKLOG_QUERY #define SIO_IDEAL_SEND_BACKLOG_QUERY 0x4004747B #endif