Guard <arm_neon.h> for 32-bit ARM

This commit is contained in:
Jeffrey Walton 2019-10-17 11:14:43 -04:00
parent fbc1437089
commit 169fbb9795
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -24,9 +24,12 @@
# include <immintrin.h>
#endif
#if defined(__aarch32__) || defined(__aarch64__) || defined(_M_ARM64)
# if (CRYPTOPP_ARM_NEON_HEADER)
# include <arm_neon.h>
# endif
#endif
// Clang intrinsic casts
#define M128_CAST(x) ((__m128i *)(void *)(x))