aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/sys/windows/types.odin2
-rw-r--r--core/sys/windows/ws2_32.odin1
2 files changed, 2 insertions, 1 deletions
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}}