aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/psp/psp-fs-factory.cpp
diff options
context:
space:
mode:
authorMax Horn2011-05-03 14:30:25 +0200
committerMax Horn2011-05-03 14:30:25 +0200
commit2fa63ca01586c4e5fda8eb12dca444d47a2375f1 (patch)
tree5edf495f2d7c5a7712c4a9a90c7e684d4837eec4 /backends/fs/psp/psp-fs-factory.cpp
parenta50c36d1381be2e7d0748a2c734e41357fd4920f (diff)
downloadscummvm-rg350-2fa63ca01586c4e5fda8eb12dca444d47a2375f1.tar.gz
scummvm-rg350-2fa63ca01586c4e5fda8eb12dca444d47a2375f1.tar.bz2
scummvm-rg350-2fa63ca01586c4e5fda8eb12dca444d47a2375f1.zip
COMMON: Forbid use of getcwd&getwd; add macro to enable unistd.h compatibility
Diffstat (limited to 'backends/fs/psp/psp-fs-factory.cpp')
-rw-r--r--backends/fs/psp/psp-fs-factory.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/backends/fs/psp/psp-fs-factory.cpp b/backends/fs/psp/psp-fs-factory.cpp
index 6b0364b57e..aee541d12a 100644
--- a/backends/fs/psp/psp-fs-factory.cpp
+++ b/backends/fs/psp/psp-fs-factory.cpp
@@ -38,9 +38,7 @@
// for the PSP port
#define FORBIDDEN_SYMBOL_EXCEPTION_printf
-// Avoid clashes with unistd.h
-#define FORBIDDEN_SYMBOL_EXCEPTION_chdir
-#define FORBIDDEN_SYMBOL_EXCEPTION_unlink
+#define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h
#include "backends/fs/psp/psp-fs-factory.h"
#include "backends/fs/psp/psp-fs.h"