diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-01-04 11:25:55 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-01-04 11:25:55 -0500 |
commit | 02f7fda54b001a824817cc51a44bd02c6466c7bf (patch) | |
tree | 91cd2602b4e55ca85ecd05e58be56a55addb44f6 /simon128_simd.cpp | |
parent | 9277d115a86d642497e710e50976b31cb6f2d0cf (diff) | |
download | cryptopp-git-02f7fda54b001a824817cc51a44bd02c6466c7bf.tar.gz |
Fix <arm_neon.h> include for ARM64 with MSVC compiler (GH #776)
Diffstat (limited to 'simon128_simd.cpp')
-rw-r--r-- | simon128_simd.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/simon128_simd.cpp b/simon128_simd.cpp index 29a9b1bc..af9e6e97 100644 --- a/simon128_simd.cpp +++ b/simon128_simd.cpp @@ -31,9 +31,12 @@ # include <immintrin.h>
#endif
+// C1189: error: This header is specific to ARM targets
#if (CRYPTOPP_ARM_NEON_AVAILABLE)
# include "adv_simd.h"
-# include <arm_neon.h>
+# ifndef _M_ARM64
+# include <arm_neon.h>
+# endif
#endif
// Can't use CRYPTOPP_ARM_XXX_AVAILABLE because too many
|