Add PS Vita port.

Thanks to Anton Stenmark.
This commit is contained in:
Mike Pall
2014-04-27 00:09:45 +02:00
parent 2715fe3aee
commit 7a39be0ac4
8 changed files with 158 additions and 28 deletions

View File

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