diff options
Diffstat (limited to 'backends/fs')
-rw-r--r-- | backends/fs/posix/posix-fs.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/backends/fs/posix/posix-fs.cpp b/backends/fs/posix/posix-fs.cpp index 5cdda13bc2..d74bfdca57 100644 --- a/backends/fs/posix/posix-fs.cpp +++ b/backends/fs/posix/posix-fs.cpp @@ -18,7 +18,7 @@ * $Header$ */ -#if defined(UNIX) +#if defined(UNIX) || defined (__GP32__) //ph0x #include "../fs.h" @@ -29,6 +29,12 @@ #include <dirent.h> #include <stdio.h> +#ifdef __GP32__ //ph0x FIXME: implement and move to portdefs.h +#define opendir(x) (0) +#define readdir(x) (0) +#define closedir(x) (0) +#endif + /* * Implementation of the ScummVM file system API based on POSIX. */ |