Skip to content

Commit

Permalink
Add TARGET_CPU_ARM{64} to TargetConditionals.h
Browse files Browse the repository at this point in the history
  • Loading branch information
cjones051073 committed Apr 15, 2021
1 parent 4b7d77b commit 053a406
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/TargetConditionals.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,11 @@
#ifndef TARGET_OS_OSX
# define TARGET_OS_OSX 1
#endif

/* If not set, will never be true */
#ifndef TARGET_CPU_ARM
# define TARGET_CPU_ARM 0
#endif
#ifndef TARGET_CPU_ARM64
# define TARGET_CPU_ARM64 0
#endif

0 comments on commit 053a406

Please sign in to comment.