From 769d9ceb0df3d255a2d0ab394b0f9d66fbcc9cc2 Mon Sep 17 00:00:00 2001 From: ThePixelMoon Date: Sun, 1 Mar 2026 21:16:38 +0200 Subject: [PATCH] wlinux: move defines to the top --- Minecraft.World/linux/wlinux.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Minecraft.World/linux/wlinux.h b/Minecraft.World/linux/wlinux.h index 605ce56fa..bd2e69c90 100644 --- a/Minecraft.World/linux/wlinux.h +++ b/Minecraft.World/linux/wlinux.h @@ -6,6 +6,12 @@ #include #include +#define TRUE true +#define FALSE false +#define RtlZeroMemory(Destination,Length) memset((Destination),0,(Length)) +#define ZeroMemory RtlZeroMemory +#define WINAPI + typedef unsigned int DWORD; typedef const char *LPCSTR; typedef bool BOOL; @@ -17,8 +23,6 @@ typedef const wchar_t* LPCWSTR; typedef unsigned long long ULONGLONG; typedef int HRESULT; typedef unsigned int UINT; -#define TRUE true -#define WINAPI typedef void* HANDLE; typedef int INT; typedef char CHAR; @@ -26,11 +30,8 @@ typedef void* PVOID; typedef unsigned long* ULONG_PTR; typedef long LONG; typedef void VOID; -#define RtlZeroMemory(Destination,Length) memset((Destination),0,(Length)) -#define ZeroMemory RtlZeroMemory typedef ULONGLONG PlayerUID; typedef DWORD WORD; -#define FALSE false typedef struct { DWORD LowPart; long long QuadPart;