Skip to content

Commit 644b592

Browse files
committed
import changes to q_platform.h from MacSourcePorts
1 parent 37386af commit 644b592

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/build-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
build:
1212

13-
runs-on: macos-14
13+
runs-on: macos-15
1414
env:
1515
release_name: release-darwin-x86_64
1616

src/qcommon/q_platform.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,12 @@ extern "C" {
174174
#define idx64 1
175175
#define ARCH_STRING "x86_64"
176176
#define Q3_LITTLE_ENDIAN
177+
#elif defined __aarch64__
178+
#define ARCH_STRING "arm64"
179+
#define Q3_LITTLE_ENDIAN
180+
#ifndef NO_VM_COMPILED
181+
#define NO_VM_COMPILED
182+
#endif
177183
#endif
178184

179185
#define DLL_EXT ".dylib"

0 commit comments

Comments
 (0)