From 169fbb97952b9e54149fb3f1f7fae0b8618f0b08 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 17 Oct 2019 11:14:43 -0400 Subject: [PATCH] Guard for 32-bit ARM --- xts.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xts.cpp b/xts.cpp index d86351f8..ac4cb3cf 100644 --- a/xts.cpp +++ b/xts.cpp @@ -24,8 +24,11 @@ # include #endif -#if (CRYPTOPP_ARM_NEON_HEADER) -# include + +#if defined(__aarch32__) || defined(__aarch64__) || defined(_M_ARM64) +# if (CRYPTOPP_ARM_NEON_HEADER) +# include +# endif #endif // Clang intrinsic casts