diff options
author | Mike Pall <mike> | 2023-09-10 05:20:22 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2023-09-10 05:20:22 +0200 |
commit | cb413bf8f4814fe3e47c8c619602c7a161469faf (patch) | |
tree | de88d398f115fca8d258e818e226a75ba0326336 /src/lj_arch.h | |
parent | 566532b8071c82125a65ad1bea0d5784991fa7a2 (diff) | |
download | luajit-cb413bf8f4814fe3e47c8c619602c7a161469faf.tar.gz luajit-cb413bf8f4814fe3e47c8c619602c7a161469faf.tar.bz2 luajit-cb413bf8f4814fe3e47c8c619602c7a161469faf.zip |
Windows/ARM64: Add initial support.
Only builds with native ARM64 Visual Studio for now.
Thanks to vanc and Stephen Just. #593 #964
Diffstat (limited to 'src/lj_arch.h')
-rw-r--r-- | src/lj_arch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h index 3e920f2a..026e741f 100644 --- a/src/lj_arch.h +++ b/src/lj_arch.h | |||
@@ -57,7 +57,7 @@ | |||
57 | #define LUAJIT_TARGET LUAJIT_ARCH_X64 | 57 | #define LUAJIT_TARGET LUAJIT_ARCH_X64 |
58 | #elif defined(__arm__) || defined(__arm) || defined(__ARM__) || defined(__ARM) | 58 | #elif defined(__arm__) || defined(__arm) || defined(__ARM__) || defined(__ARM) |
59 | #define LUAJIT_TARGET LUAJIT_ARCH_ARM | 59 | #define LUAJIT_TARGET LUAJIT_ARCH_ARM |
60 | #elif defined(__aarch64__) | 60 | #elif defined(__aarch64__) || defined(_M_ARM64) |
61 | #define LUAJIT_TARGET LUAJIT_ARCH_ARM64 | 61 | #define LUAJIT_TARGET LUAJIT_ARCH_ARM64 |
62 | #elif defined(__ppc__) || defined(__ppc) || defined(__PPC__) || defined(__PPC) || defined(__powerpc__) || defined(__powerpc) || defined(__POWERPC__) || defined(__POWERPC) || defined(_M_PPC) | 62 | #elif defined(__ppc__) || defined(__ppc) || defined(__PPC__) || defined(__PPC) || defined(__powerpc__) || defined(__powerpc) || defined(__POWERPC__) || defined(__POWERPC) || defined(_M_PPC) |
63 | #define LUAJIT_TARGET LUAJIT_ARCH_PPC | 63 | #define LUAJIT_TARGET LUAJIT_ARCH_PPC |