mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
split GEODE_PLATFORM_NAME for MacArm and MacIntel
This commit is contained in:
parent
5c684388f2
commit
48a7981d3b
1 changed files with 2 additions and 1 deletions
|
@ -53,16 +53,17 @@
|
|||
#define GEODE_MACOS(...) __VA_ARGS__
|
||||
#define GEODE_IS_MACOS
|
||||
#define GEODE_IS_DESKTOP
|
||||
#define GEODE_PLATFORM_NAME "MacOS"
|
||||
#define GEODE_PLATFORM_EXTENSION ".dylib"
|
||||
#define CC_TARGET_OS_MAC
|
||||
|
||||
#if TARGET_CPU_ARM64
|
||||
#define GEODE_PLATFORM_NAME "MacArm"
|
||||
#define GEODE_IS_ARM_MAC
|
||||
#define GEODE_PLATFORM_SHORT_IDENTIFIER "mac-arm"
|
||||
#define GEODE_ARM_MAC(...) __VA_ARGS__
|
||||
#define GEODE_INTEL_MAC(...)
|
||||
#else
|
||||
#define GEODE_PLATFORM_NAME "MacIntel"
|
||||
#define GEODE_IS_INTEL_MAC
|
||||
#define GEODE_PLATFORM_SHORT_IDENTIFIER "mac-intel"
|
||||
#define GEODE_ARM_MAC(...)
|
||||
|
|
Loading…
Reference in a new issue