mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-10-11 22:49:55 +00:00
[Mac OS X] Force enable LSE2 on Apple AArch64 as a workaround for missing macros.
AppleClang defines the macros noted in types.hpp, but not LLVM clang for some obnoxious reason.
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
// See Arm C Language Extensions Documentation
|
||||
// Currently there is no feature macro for LSE2 specifically so we define it ourself
|
||||
// Unfortunately the __ARM_ARCH integer macro isn't universally defined so we use this hack instead
|
||||
#if defined(__ARM_ARCH_8_4__) || defined(__ARM_ARCH_8_5__) || defined(__ARM_ARCH_8_6__) || defined(__ARM_ARCH_9__)
|
||||
#if defined(__APPLE__) || (__ARM_ARCH_8_4__) || defined(__ARM_ARCH_8_5__) || defined(__ARM_ARCH_8_6__) || defined(__ARM_ARCH_9__)
|
||||
#define ARM_FEATURE_LSE2 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user