summaryrefslogtreecommitdiff
path: root/blake2b_simd.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-01-04 11:25:55 -0500
committerJeffrey Walton <noloader@gmail.com>2019-01-04 11:25:55 -0500
commit02f7fda54b001a824817cc51a44bd02c6466c7bf (patch)
tree91cd2602b4e55ca85ecd05e58be56a55addb44f6 /blake2b_simd.cpp
parent9277d115a86d642497e710e50976b31cb6f2d0cf (diff)
downloadcryptopp-git-02f7fda54b001a824817cc51a44bd02c6466c7bf.tar.gz
Fix <arm_neon.h> include for ARM64 with MSVC compiler (GH #776)
Diffstat (limited to 'blake2b_simd.cpp')
-rw-r--r--blake2b_simd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/blake2b_simd.cpp b/blake2b_simd.cpp
index ca5aa054..932be73b 100644
--- a/blake2b_simd.cpp
+++ b/blake2b_simd.cpp
@@ -38,7 +38,8 @@
# include <smmintrin.h>
#endif
-#if (CRYPTOPP_ARM_NEON_AVAILABLE)
+// C1189: error: This header is specific to ARM targets
+#if (CRYPTOPP_ARM_NEON_AVAILABLE) && !defined(_M_ARM64)
# include <arm_neon.h>
#endif