From 90e6bfe0c662a75e8ec34ecc5bb8e17502258f00 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 25 Nov 2025 19:45:36 +0000 Subject: [PATCH] ITS#6938 WIN32: silence warnings for redefined error codes --- include/ac/socket.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/ac/socket.h b/include/ac/socket.h index 5d739920c6..cb001e5702 100644 --- a/include/ac/socket.h +++ b/include/ac/socket.h @@ -98,6 +98,9 @@ # define tcp_close( s ) closesocket( s ) # endif +#undef EWOULDBLOCK +#undef EINPROGRESS +#undef ETIMEDOUT #define EWOULDBLOCK WSAEWOULDBLOCK #define ENOTCONN WSAENOTCONN #define EINPROGRESS WSAEINPROGRESS