diff options
author | cpasjuste | 2017-03-01 14:00:17 -0600 |
---|---|---|
committer | rsn8887 | 2017-03-04 15:42:19 -0600 |
commit | 70988527c64947fd7fe3c361907e9f0806b0cb5c (patch) | |
tree | 9472f2a894e65f98dcbdda60e7c46c32d28defd6 /backends/fs/posix | |
parent | 3a7c0911224adc0d0d467dc530f62f97a8868bee (diff) | |
download | scummvm-rg350-70988527c64947fd7fe3c361907e9f0806b0cb5c.tar.gz scummvm-rg350-70988527c64947fd7fe3c361907e9f0806b0cb5c.tar.bz2 scummvm-rg350-70988527c64947fd7fe3c361907e9f0806b0cb5c.zip |
PSP2: Add Playstation Vita (PSP2) support
Diffstat (limited to 'backends/fs/posix')
-rw-r--r-- | backends/fs/posix/posix-fs.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/backends/fs/posix/posix-fs.cpp b/backends/fs/posix/posix-fs.cpp index 4434bcba97..3f90fc1a19 100644 --- a/backends/fs/posix/posix-fs.cpp +++ b/backends/fs/posix/posix-fs.cpp @@ -20,7 +20,7 @@ * */ -#if defined(POSIX) || defined(PLAYSTATION3) +#if defined(POSIX) || defined(PLAYSTATION3) || defined(PSP2) // Re-enable some forbidden symbols to avoid clashes with stat.h and unistd.h. // Also with clock() in sys/time.h in some Mac OS X SDKs. @@ -36,7 +36,12 @@ #include <sys/param.h> #include <sys/stat.h> +#ifdef PSP2 +#include "backends/fs/psp2/psp2-dirent.h" +#define mkdir sceIoMkdir +#else #include <dirent.h> +#endif #include <stdio.h> #include <errno.h> #include <fcntl.h> |