You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Set Mac ARM cache line size to 128 to cater for Apple M1/M2
#jira none #rb josh.adams #preflight 63c0049c8f4acc7b54ce4b0e [CL 23675457 by Johan Torp in ue5-main branch]
This commit is contained in:
@@ -127,6 +127,12 @@ typedef FMacPlatformTypes FPlatformTypes;
|
||||
#define OPERATOR_NEW_NOTHROW_SPEC _NOEXCEPT
|
||||
#define OPERATOR_DELETE_NOTHROW_SPEC _NOEXCEPT
|
||||
|
||||
#ifdef PLATFORM_MAC_ARM64
|
||||
#define PLATFORM_CACHE_LINE_SIZE 128
|
||||
#else
|
||||
#define PLATFORM_CACHE_LINE_SIZE 64
|
||||
#endif
|
||||
|
||||
// DLL export and import definitions
|
||||
#define DLLEXPORT __attribute__((visibility("default")))
|
||||
#define DLLIMPORT __attribute__((visibility("default")))
|
||||
|
||||
Reference in New Issue
Block a user