Add Nintendo Switch port.

Contributed by Swyter and vdweller84.
This commit is contained in:
Mike Pall
2022-06-08 14:24:57 +02:00
parent 96157d360d
commit 7beb3375e3
6 changed files with 179 additions and 4 deletions

View File

@@ -162,6 +162,13 @@
#define LJ_TARGET_GC64 1
#endif
#ifdef __NX__
#define LJ_TARGET_NX 1
#define LJ_TARGET_CONSOLE 1
#undef NULL
#define NULL ((void*)0)
#endif
#ifdef _UWP
#define LJ_TARGET_UWP 1
#if LUAJIT_TARGET == LUAJIT_ARCH_X64