diff options
author | Eugene Sandulenko | 2017-03-04 22:45:01 +0100 |
---|---|---|
committer | GitHub | 2017-03-04 22:45:01 +0100 |
commit | 547e5846a144b820981c45cf3f76c77075971197 (patch) | |
tree | 361701d1d21f9bcf1708e1e1d922e3e743ae6c59 /backends/fs/posix/posix-fs.cpp | |
parent | 72962ae0f6338ccecd29efb4da65efe99acf4b99 (diff) | |
parent | 70988527c64947fd7fe3c361907e9f0806b0cb5c (diff) | |
download | scummvm-rg350-547e5846a144b820981c45cf3f76c77075971197.tar.gz scummvm-rg350-547e5846a144b820981c45cf3f76c77075971197.tar.bz2 scummvm-rg350-547e5846a144b820981c45cf3f76c77075971197.zip |
Merge pull request #915 from rsn8887/vita
PSP2: Add Playstation Vita support
Diffstat (limited to 'backends/fs/posix/posix-fs.cpp')
-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> |