Skip to content

Commit

Permalink
Merge pull request #121 from corneliusclaussen/bugfix/fix-compile-on-arm
Browse files Browse the repository at this point in the history
Fix compile on ARM due to broken macro definition
  • Loading branch information
biojppm committed Sep 4, 2023
2 parents 1d2920f + 22721de commit c857e67
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 c857e67

Please sign in to comment.