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

@@ -439,7 +439,7 @@ LJLIB_CF(io_popen)
LJLIB_CF(io_tmpfile)
{
IOFileUD *iof = io_file_new(L);
#if LJ_TARGET_PS3 || LJ_TARGET_PS4 || LJ_TARGET_PS5 || LJ_TARGET_PSVITA
#if LJ_TARGET_PS3 || LJ_TARGET_PS4 || LJ_TARGET_PS5 || LJ_TARGET_PSVITA || LJ_TARGET_NX
iof->fp = NULL; errno = ENOSYS;
#else
iof->fp = tmpfile();