Add arm64 support for macOS
This commit is contained in:
@@ -7,10 +7,17 @@
|
||||
#include "../Unix/UnixDefines.h"
|
||||
|
||||
// Platform description
|
||||
#define PLATFORM_TYPE PlatformType::Mac
|
||||
#if __aarch64__
|
||||
#define PLATFORM_64BITS 1
|
||||
#define PLATFORM_ARCH_ARM64 1
|
||||
#define PLATFORM_ARCH ArchitectureType::ARM64
|
||||
#else
|
||||
sss;
|
||||
#define PLATFORM_64BITS 1
|
||||
#define PLATFORM_ARCH_X64 1
|
||||
#define PLATFORM_ARCH ArchitectureType::x64
|
||||
#define PLATFORM_TYPE PlatformType::Mac
|
||||
#endif
|
||||
#define PLATFORM_DESKTOP 1
|
||||
#define PLATFORM_CACHE_LINE_SIZE 128
|
||||
#define PLATFORM_HAS_HEADLESS_MODE 1
|
||||
|
||||
Reference in New Issue
Block a user