]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10353 WINSOCK: add missing ENOTCONN #define
authorJulien Wadel <julien.wadel@belledonne-communications.com>
Wed, 4 Jun 2025 10:26:06 +0000 (12:26 +0200)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 4 Nov 2025 16:06:20 +0000 (16:06 +0000)
Value is set to 126 by "ucrt/errno.h" but WSAENOTCONN is
set to 10057L by winerror.h (used by WSAGetLastError()).

include/ac/socket.h

index a80254120f23dcb7d78aa73292447d3d23c13a83..5d739920c65e20fe455cbb5e32e70da87ddd88f8 100644 (file)
@@ -99,6 +99,7 @@
 #      endif
 
 #define EWOULDBLOCK WSAEWOULDBLOCK
+#define ENOTCONN WSAENOTCONN
 #define EINPROGRESS WSAEINPROGRESS
 #define ETIMEDOUT      WSAETIMEDOUT