]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
[Win32] Fix for USE_WATT32
authorGisle Vanem <gisle.vanem@gmail.com>
Fri, 4 Jun 2021 10:16:57 +0000 (12:16 +0200)
committerGisle Vanem <gvanem@yahoo.no>
Fri, 4 Jun 2021 12:31:11 +0000 (14:31 +0200)
My Watt-32 tcp/ip stack works on Windows but it does not have `WSAIoctl()`

lib/transfer.c

index 3ea07c5e942e5e5ce6ebdd5428470a5ede09e0e3..097d38d793bb82b17521775daae3f5bc8b49d550 100644 (file)
@@ -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