summaryrefslogtreecommitdiff
path: root/blake2-simd.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-09-17 20:07:53 -0400
committerJeffrey Walton <noloader@gmail.com>2017-09-17 20:07:53 -0400
commitf0c2324f6be1a3b91b88412354e7c80e19cd03e7 (patch)
treee741c2a1b1c2e340d01afc7d6734773842541a84 /blake2-simd.cpp
parent09f1a2fb38fa493de110d620472bc5b3617a2f8e (diff)
downloadcryptopp-git-f0c2324f6be1a3b91b88412354e7c80e19cd03e7.tar.gz
Fix armeabi and armv7-a for Android (GH #509)
Diffstat (limited to 'blake2-simd.cpp')
-rw-r--r--blake2-simd.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/blake2-simd.cpp b/blake2-simd.cpp
index 45834c85..46008665 100644
--- a/blake2-simd.cpp
+++ b/blake2-simd.cpp
@@ -11,6 +11,10 @@
#include "misc.h"
#include "blake2.h"
+#if !(defined(__ARM_NEON) || defined(_MSC_VER))
+# undef CRYPTOPP_ARM_NEON_AVAILABLE
+#endif
+
#if (CRYPTOPP_SSE42_AVAILABLE)
# include <emmintrin.h>
# include <nmmintrin.h>