From fb2d478ef51b5723dae90aaf0d326120d1a13ac2 Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Wed, 4 Jun 2025 12:26:06 +0200 Subject: [PATCH] ITS#10353 WINSOCK: add missing ENOTCONN #define 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ac/socket.h b/include/ac/socket.h index a80254120f..5d739920c6 100644 --- a/include/ac/socket.h +++ b/include/ac/socket.h @@ -99,6 +99,7 @@ # endif #define EWOULDBLOCK WSAEWOULDBLOCK +#define ENOTCONN WSAENOTCONN #define EINPROGRESS WSAEINPROGRESS #define ETIMEDOUT WSAETIMEDOUT -- 2.47.3