From 22b08e49ec5c2c402928757b5608eae8375be21b Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 7 May 2016 00:45:05 -0400 Subject: [PATCH] Fix errant include of on non-ARM systems --- cpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu.h b/cpu.h index 56baf5ae..76054414 100644 --- a/cpu.h +++ b/cpu.h @@ -11,7 +11,7 @@ #include "config.h" -#if defined(CRYPTOPP_BOOL_ARM32) || defined(CRYPTOPP_BOOL_ARM64) +#if (CRYPTOPP_BOOL_ARM32 || CRYPTOPP_BOOL_ARM64) # if defined(__linux__) # include # include @@ -234,7 +234,7 @@ inline int GetCacheLineSize() return g_cacheLineSize; } -#elif defined(CRYPTOPP_BOOL_ARM32) || defined(CRYPTOPP_BOOL_ARM64) +#elif (CRYPTOPP_BOOL_ARM32 || CRYPTOPP_BOOL_ARM64) extern bool g_ArmDetectionDone; extern bool g_hasNEON, g_hasCRC32;