Skip to content

Commit

Permalink
Fix compile on ARM due to broken macro definition
Browse files Browse the repository at this point in the history
Signed-off-by: Cornelius Claussen <cc@pionix.de>
  • Loading branch information
corneliusclaussen committed Aug 22, 2023
1 parent 1d2920f commit 22721de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/c4/cpu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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__) \
Expand Down

0 comments on commit 22721de

Please sign in to comment.