]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#6938 WIN32: silence warnings for redefined error codes
authorHoward Chu <hyc@openldap.org>
Tue, 25 Nov 2025 19:45:36 +0000 (19:45 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 1 Dec 2025 16:18:46 +0000 (16:18 +0000)
include/ac/socket.h

index 5d739920c65e20fe455cbb5e32e70da87ddd88f8..cb001e570234db70f6fed2f15463da8452f2770c 100644 (file)
@@ -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