Skip to content

Commit 03b8bda

Browse files
committed
Add Windows ARM64 support
Separates the `Windows` platform into `Windows-x86_64` and `Windows-ARM64`.
1 parent 15ece08 commit 03b8bda

File tree

6 files changed

+2725
-11
lines changed

6 files changed

+2725
-11
lines changed

config.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
#if defined(WIN32) || defined(_WIN32)
2+
#if defined(__aarch64__) || defined(_M_ARM64)
3+
#include "config_windows_aarch64.h"
4+
#elif defined(__amd64__) || defined(_M_AMD64)
25
#include "config_windows_x86_64.h"
6+
#else
7+
#error "windows arch unsupported"
8+
#endif
39
#elif defined(__gnu_linux__)
410
#include "config_linux_x86_64.h"
511
#elif defined(__ANDROID__)
612
#if defined(__aarch64__)
713
#include "config_android_aarch64.h"
814
#elif defined(__amd64__)
915
#include "config_android_x86_64.h"
10-
#elif
16+
#else
1117
#error "android arch unsupported"
1218
#endif
1319
#else

0 commit comments

Comments
 (0)