From 1838925aac4d6896945e54ad8a6723b039c9a118 Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Fri, 4 Jun 2021 12:16:57 +0200 Subject: [PATCH] [Win32] Fix for USE_WATT32 My Watt-32 tcp/ip stack works on Windows but it does not have `WSAIoctl()` --- lib/transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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