diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-10-16 21:00:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-16 21:00:45 -0400 |
commit | 60eedb97ba67956f6ae5a406bd386cc61f304898 (patch) | |
tree | 99fbb93edcca8e14a19121feafc9ebada9f507f7 /sha_simd.cpp | |
parent | 9f6400a6072c9e75f5f288cb81728da72f1fa28d (diff) | |
download | cryptopp-git-60eedb97ba67956f6ae5a406bd386cc61f304898.tar.gz |
Fix ARM headers and Android compile (PR #896)
* Test fix ARM headers
This problem has been festering for some time. The header file includes are slightly different than the ISA options. Some platforms need an include, others don't.
* Fix cryptest-android.sh and cryptest-ios.sh
* Fix MSVC ARM32 and ARM64 compile
* Split ARM32 and ARM64 recipes in GNUmakefile
Diffstat (limited to 'sha_simd.cpp')
-rw-r--r-- | sha_simd.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sha_simd.cpp b/sha_simd.cpp index 6b6852f0..419e183b 100644 --- a/sha_simd.cpp +++ b/sha_simd.cpp @@ -23,12 +23,11 @@ # include <immintrin.h>
#endif
-// C1189: error: This header is specific to ARM targets
-#if (CRYPTOPP_ARM_NEON_AVAILABLE) && !defined(_M_ARM64)
+#if (CRYPTOPP_ARM_NEON_HEADER)
# include <arm_neon.h>
#endif
-#if (CRYPTOPP_ARM_ACLE_AVAILABLE)
+#if (CRYPTOPP_ARM_ACLE_HEADER)
# include <stdint.h>
# include <arm_acle.h>
#endif
|