From d44b819d88755bc20aececf6c94c68dfd41ccbb9 Mon Sep 17 00:00:00 2001 From: James Bellinger Date: Wed, 12 Jun 2024 14:28:15 -0400 Subject: [PATCH] Support compiling on aarch64 (Raspberry Pi 64-bit). --- platform.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform.h b/platform.h index d4c674d..9aac740 100644 --- a/platform.h +++ b/platform.h @@ -352,6 +352,8 @@ uint64 MojoPlatform_getgid(void); #define PLATFORM_ARCH "x86-64" #elif defined(__X86__) || defined(__i386__) || defined(i386) || defined (_M_IX86) || defined(__386__) #define PLATFORM_ARCH "x86" +#elif defined(__aarch64__) +#define PLATFORM_ARCH "aarch64" #elif defined(__arm__) && defined(__ARM_PCS_VFP) #define PLATFORM_ARCH "armhf" #else