From f5b7a6ddbb8f4b9f50769b49af28eb7636a77aa7 Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Sat, 30 Nov 2024 00:03:01 +0200 Subject: [PATCH] Fix arm64 builds --- third_party/host_memory/host_memory.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/third_party/host_memory/host_memory.cpp b/third_party/host_memory/host_memory.cpp index c61066e9..2667229e 100644 --- a/third_party/host_memory/host_memory.cpp +++ b/third_party/host_memory/host_memory.cpp @@ -14,6 +14,10 @@ #define ASSERT #define UNIMPLEMENTED_MSG +#if defined(_M_ARM64) || defined(__aarch64__) +#define ARCHITECTURE_arm64 +#endif + #elif defined(__linux__) || defined(__FreeBSD__) // ^^^ Windows ^^^ vvv Linux vvv #ifndef _GNU_SOURCE