From eca436fc65e2376fc5b2bb2f099544dc632dfe6a Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Tue, 11 Aug 2020 14:09:28 +0000 Subject: [PATCH] Bug 1658376 - correctly identify arm64 macOS in FileUtils.cpp; r=mccr8 One more architecture that macOS runs on. Differential Revision: https://phabricator.services.mozilla.com/D86596 --- xpcom/glue/FileUtils.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xpcom/glue/FileUtils.cpp b/xpcom/glue/FileUtils.cpp index d1938f48e137..cfa14aab4241 100644 --- a/xpcom/glue/FileUtils.cpp +++ b/xpcom/glue/FileUtils.cpp @@ -243,6 +243,8 @@ static const uint32_t CPU_TYPE = CPU_TYPE_X86_64; static const uint32_t CPU_TYPE = CPU_TYPE_POWERPC; # elif defined(__ppc64__) static const uint32_t CPU_TYPE = CPU_TYPE_POWERPC64; +# elif defined(__aarch64__) +static const uint32_t CPU_TYPE = CPU_TYPE_ARM64; # else # error Unsupported CPU type # endif