aboutsummaryrefslogtreecommitdiff
path: root/backends/fs
diff options
context:
space:
mode:
authorPeter Moraliyski2002-11-30 16:03:46 +0000
committerPeter Moraliyski2002-11-30 16:03:46 +0000
commitc0c5fc274f74cf9b3809acf565aa626f52b183cb (patch)
tree9d72638d876dfa6938c86babc2d1fa58253fdbf1 /backends/fs
parent0a17046c4a29b406fa3303887b26571e89f7a644 (diff)
downloadscummvm-rg350-c0c5fc274f74cf9b3809acf565aa626f52b183cb.tar.gz
scummvm-rg350-c0c5fc274f74cf9b3809acf565aa626f52b183cb.tar.bz2
scummvm-rg350-c0c5fc274f74cf9b3809acf565aa626f52b183cb.zip
gp32 port stuff
svn-id: r5761
Diffstat (limited to 'backends/fs')
-rw-r--r--backends/fs/posix/posix-fs.cpp8
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.
*/