From: Howard Chu Date: Tue, 25 Nov 2025 19:45:36 +0000 (+0000) Subject: ITS#6938 WIN32: silence warnings for redefined error codes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90e6bfe0c662a75e8ec34ecc5bb8e17502258f00;p=thirdparty%2Fopenldap.git ITS#6938 WIN32: silence warnings for redefined error codes --- 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