Skip to content

Commit

Permalink
Support compiling on aarch64 (Raspberry Pi 64-bit).
Browse files Browse the repository at this point in the history
  • Loading branch information
James Bellinger authored and icculus committed Jun 13, 2024
1 parent 2dd208e commit d44b819
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d44b819

Please sign in to comment.