From 549d9e462501be052772bcf91f23d52b58f19312 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sat, 17 May 2025 12:04:32 +0200 Subject: [PATCH] Fix compilation --- src/common/platform/primitives.hpp | 1 + src/common/platform/window.hpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common/platform/primitives.hpp b/src/common/platform/primitives.hpp index 19fe4c4b..2a5d6de5 100644 --- a/src/common/platform/primitives.hpp +++ b/src/common/platform/primitives.hpp @@ -22,6 +22,7 @@ using ULONG = DWORD; using DWORD64 = std::uint64_t; using ULONGLONG = DWORD64; using LONGLONG = std::int64_t; +using UINT = std::uint32_t; typedef union _ULARGE_INTEGER { diff --git a/src/common/platform/window.hpp b/src/common/platform/window.hpp index 26a67d55..a0f20f9b 100644 --- a/src/common/platform/window.hpp +++ b/src/common/platform/window.hpp @@ -7,7 +7,7 @@ typedef struct tagPOINT { LONG x; LONG y; -} POINT, *PPOINT, NEAR *NPPOINT, FAR *LPPOINT; +} POINT; #endif using wparam = pointer; @@ -28,7 +28,7 @@ using hinstance = pointer; struct msg { - hwnd hwnd; + hwnd window; UINT message; wparam wParam; lparam lParam;