瀏覽代碼

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.
matias 3 年之前
父節點
當前提交
162e86663f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      core/sys/windows/types.odin

+ 1 - 0
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