Skip to content

Commit

Permalink
builtins: replicate aarch64.c change into aarch64.h
Browse files Browse the repository at this point in the history
Perform the same macro expansion in the header to improve handling
the various ARM64 environments which use different CPU architecture
identification macro spellings.
  • Loading branch information
compnerd committed Sep 12, 2024
1 parent e42f473 commit 7353507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-rt/lib/builtins/cpu_model/aarch64.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "cpu_model.h"

#if !defined(__aarch64__)
#if !defined(__aarch64__) && !defined(__arm64__) && !defined(_M_ARM64)
#error This file is intended only for aarch64-based targets
#endif

Expand Down

0 comments on commit 7353507

Please sign in to comment.