From 22721de62be176d25cd03edce756c96f26808e16 Mon Sep 17 00:00:00 2001 From: Cornelius Claussen Date: Tue, 22 Aug 2023 17:51:29 +0200 Subject: [PATCH] Fix compile on ARM due to broken macro definition Signed-off-by: Cornelius Claussen --- src/c4/cpu.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/c4/cpu.hpp b/src/c4/cpu.hpp index 00ced1f5..f37b9fa1 100644 --- a/src/c4/cpu.hpp +++ b/src/c4/cpu.hpp @@ -44,8 +44,8 @@ # define C4_CPU_ARM # define C4_WORDSIZE 4 # if defined(__ARM_ARCH_8__) || defined(__ARM_ARCH_8A__) \ - || (defined(__ARCH_ARM) && __ARCH_ARM >= 8) - || (defined(__TARGET_ARCH_ARM) && __TARGET_ARCH_ARM >= 8) \ + || (defined(__ARCH_ARM) && __ARCH_ARM >= 8) \ + || (defined(__TARGET_ARCH_ARM) && __TARGET_ARCH_ARM >= 8) # define C4_CPU_ARMV8 # elif defined(__ARM_ARCH_7__) || defined(_ARM_ARCH_7) \ || defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7R__) \