From 40251d9b7fec1a44edefb57118af41c002b7d0b2 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 20 May 2019 23:33:06 -0400 Subject: [PATCH] Guard CPU_ProbeARMv7 with CRYPTOPP_BOOL_ARM32 (GH #844) We make these queries available on all platforms so folks don't need to guard code. --- neon_simd.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/neon_simd.cpp b/neon_simd.cpp index b1616587..aa13118f 100644 --- a/neon_simd.cpp +++ b/neon_simd.cpp @@ -114,11 +114,10 @@ bool CPU_ProbeARMv7() sigprocmask(SIG_SETMASK, (sigset_t*)&oldMask, NULLPTR); signal(SIGILL, oldHandler); return result; -# else - return false; # endif +#else return false; -#endif // CRYPTOPP_ARM_NEON_AVAILABLE +#endif // CRYPTOPP_BOOL_ARM32 } bool CPU_ProbeNEON()