aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatias <matiasfmolinari@gmail.com>2022-09-26 01:54:27 -0400
committerGitHub <noreply@github.com>2022-09-26 01:54:27 -0400
commit162e86663fef8bd17f9c4d3104491069bcc043e3 (patch)
tree85dc48493d2ae81246dc62013991b831a8bebd94
parent83ffb68bb7025752639b746597cdcfa463cc7074 (diff)
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.
-rw-r--r--core/sys/windows/types.odin1
1 files changed, 1 insertions, 0 deletions
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