From 162e86663fef8bd17f9c4d3104491069bcc043e3 Mon Sep 17 00:00:00 2001 From: matias Date: Mon, 26 Sep 2022 01:54:27 -0400 Subject: [PATCH] Add WSATRY_AGAIN to windows/types.odin Not sure if the intent is to only add the defines that are commonly used in this file in order to keep things lean, rather than the complete list of WSA error codes from winerror.h into winerror.odin. I can close this and redo by adding all the WSA codes into winerror.odin and deleting these instead if preferred. --- core/sys/windows/types.odin | 1 + 1 file changed, 1 insertion(+) diff --git a/core/sys/windows/types.odin b/core/sys/windows/types.odin index c366a0102..85c94284c 100644 --- a/core/sys/windows/types.odin +++ b/core/sys/windows/types.odin @@ -1662,6 +1662,7 @@ WSAENOTCONN: c_int : 10057 WSAESHUTDOWN: c_int : 10058 WSAETIMEDOUT: c_int : 10060 WSAECONNREFUSED: c_int : 10061 +WSATRY_AGAIN: c_int : 11002 MAX_PROTOCOL_CHAIN: DWORD : 7