From 393fec2f668ce2c1c7f2e885ab3e479d34e1e896 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 5 Jan 2026 11:48:19 +0000 Subject: Move `WSAEVENT` to types.odin --- core/sys/windows/types.odin | 2 ++ core/sys/windows/ws2_32.odin | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/sys/windows/types.odin b/core/sys/windows/types.odin index b43268c1e..e1a14fb94 100644 --- a/core/sys/windows/types.odin +++ b/core/sys/windows/types.odin @@ -151,6 +151,8 @@ LPCOLESTR :: LPCSTR LPFILETIME :: ^FILETIME LPWSABUF :: ^WSABUF +WSAEVENT :: HANDLE + WSAOVERLAPPED :: struct { Internal: DWORD, InternalHigh: DWORD, diff --git a/core/sys/windows/ws2_32.odin b/core/sys/windows/ws2_32.odin index 2c8dbe3b0..ad9089c6e 100644 --- a/core/sys/windows/ws2_32.odin +++ b/core/sys/windows/ws2_32.odin @@ -35,7 +35,6 @@ WSANETWORKEVENTS :: struct { iErrorCode: [FD_MAX_EVENTS]c_int, } -WSAEVENT :: HANDLE WSAID_ACCEPTEX :: GUID{0xb5367df1, 0xcbac, 0x11cf, {0x95, 0xca, 0x00, 0x80, 0x5f, 0x48, 0xa1, 0x92}} WSAID_GETACCEPTEXSOCKADDRS :: GUID{0xb5367df2, 0xcbac, 0x11cf, {0x95, 0xca, 0x00, 0x80, 0x5f, 0x48, 0xa1, 0x92}} -- cgit v1.2.3