From c085c7a75bf6d455e1117a1b4a938fb07445c9e8 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 3 Jan 2019 23:19:06 -0500 Subject: [PATCH] Fix Integer ARM64 compile with MSVC compiler (GH #776) --- integer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integer.cpp b/integer.cpp index e73e5d8c..b83ee227 100644 --- a/integer.cpp +++ b/integer.cpp @@ -233,7 +233,7 @@ static word AtomicInverseModPower2(word A) #define GetBorrow(u) u##1 #else #define Declare2Words(x) dword x; - #if _MSC_VER >= 1400 && !defined(__INTEL_COMPILER) && !defined(_M_ARM) + #if _MSC_VER >= 1400 && !defined(__INTEL_COMPILER) && !(defined(_M_ARM) || defined(_M_ARM64)) #define MultiplyWords(p, a, b) p = __emulu(a, b); #else #define MultiplyWords(p, a, b) p = (dword)a*b;