From dc2c367d405e1e2616d61e62f986a5e9149c4449 Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Fri, 3 Aug 2018 18:07:34 -0400 Subject: [PATCH] Bug 1480581 - add an AArch64-specific case to EndianUtils.h; r=Waldo --- mfbt/EndianUtils.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mfbt/EndianUtils.h b/mfbt/EndianUtils.h index 153895fa5077..8f0dee03626a 100644 --- a/mfbt/EndianUtils.h +++ b/mfbt/EndianUtils.h @@ -85,6 +85,8 @@ #if defined(_WIN64) # if defined(_M_X64) || defined(_M_AMD64) || defined(_AMD64_) # define MOZ_LITTLE_ENDIAN 1 +# elif defined(_M_ARM64) +# define MOZ_LITTLE_ENDIAN 1 # else # error "CPU type is unknown" # endif