Skip to content

Commit

Permalink
Add Windows ARM64 support
Browse files Browse the repository at this point in the history
Separates the `Windows` platform into `Windows-x86_64` and
`Windows-ARM64`.
  • Loading branch information
Wunkolo committed Apr 27, 2024
1 parent 15ece08 commit 03b8bda
Show file tree
Hide file tree
Showing 6 changed files with 2,725 additions and 11 deletions.
8 changes: 7 additions & 1 deletion config.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
#if defined(WIN32) || defined(_WIN32)
#if defined(__aarch64__) || defined(_M_ARM64)
#include "config_windows_aarch64.h"
#elif defined(__amd64__) || defined(_M_AMD64)
#include "config_windows_x86_64.h"
#else
#error "windows arch unsupported"
#endif
#elif defined(__gnu_linux__)
#include "config_linux_x86_64.h"
#elif defined(__ANDROID__)
#if defined(__aarch64__)
#include "config_android_aarch64.h"
#elif defined(__amd64__)
#include "config_android_x86_64.h"
#elif
#else
#error "android arch unsupported"
#endif
#else
Expand Down
Loading

0 comments on commit 03b8bda

Please sign in to comment.