diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-01-03 23:19:06 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-01-03 23:19:06 -0500 |
commit | c085c7a75bf6d455e1117a1b4a938fb07445c9e8 (patch) | |
tree | d3da39c47aa5c5b4f3863de4f152b26de25ae200 /integer.cpp | |
parent | 7ab07dde06b054e9f601bfda1b86dc858f4b53da (diff) | |
download | cryptopp-git-c085c7a75bf6d455e1117a1b4a938fb07445c9e8.tar.gz |
Fix Integer ARM64 compile with MSVC compiler (GH #776)
Diffstat (limited to 'integer.cpp')
-rw-r--r-- | integer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|