summaryrefslogtreecommitdiff
path: root/crc-simd.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-09-13 17:16:57 -0400
committerJeffrey Walton <noloader@gmail.com>2017-09-13 17:16:57 -0400
commit8d984173064b360af57f60932bd7b4d3c3312eb4 (patch)
tree0351d07579e21f946412cde7f44613b5950ca8f9 /crc-simd.cpp
parent40859a80da32ed0974580871e2053c37c7817a3a (diff)
downloadcryptopp-git-8d984173064b360af57f60932bd7b4d3c3312eb4.tar.gz
Add Aarch64 specific defines to Android cross-compile
Move <arm_acle.h> logic into "sonfig.h". Detecting when we can/should include <arm_acle.h> is proving to be troublesome
Diffstat (limited to 'crc-simd.cpp')
-rw-r--r--crc-simd.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/crc-simd.cpp b/crc-simd.cpp
index 029dd9ae..fe287279 100644
--- a/crc-simd.cpp
+++ b/crc-simd.cpp
@@ -24,11 +24,7 @@
# include <arm_neon.h>
#endif
-// Don't include <arm_acle.h> when using Apple Clang. Early Apple compilers
-// fail to compile with <arm_acle.h> included. Later Apple compilers compile
-// intrinsics without <arm_acle.h> included. Also avoid it with GCC 4.8.
-#if (CRYPTOPP_ARM_CRC32_AVAILABLE) && !defined(CRYPTOPP_APPLE_CLANG_VERSION) && \
- (!defined(CRYPTOPP_GCC_VERSION) || (CRYPTOPP_GCC_VERSION >= 40900))
+#if defined(CRYPTOPP_ARM_ACLE_AVAILABLE)
# include <arm_acle.h>
#endif