aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoost Peters2011-06-04 16:55:58 +0200
committerJoost Peters2011-06-04 16:55:58 +0200
commit265e03c97583bd12fd299499b798c967c7d1ab9a (patch)
treebc8dc93cd0d76698818ff3f8d2c2d2842b1426e0
parent2d87394be97e7ed989fabfd0cfbbace204bd213d (diff)
downloadscummvm-rg350-265e03c97583bd12fd299499b798c967c7d1ab9a.tar.gz
scummvm-rg350-265e03c97583bd12fd299499b798c967c7d1ab9a.tar.bz2
scummvm-rg350-265e03c97583bd12fd299499b798c967c7d1ab9a.zip
IRIX: Fix compilation
-rw-r--r--backends/fs/posix/posix-fs-factory.cpp1
-rw-r--r--backends/fs/posix/posix-fs.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/backends/fs/posix/posix-fs-factory.cpp b/backends/fs/posix/posix-fs-factory.cpp
index ccff8a8b42..829355be84 100644
--- a/backends/fs/posix/posix-fs-factory.cpp
+++ b/backends/fs/posix/posix-fs-factory.cpp
@@ -26,6 +26,7 @@
#define FORBIDDEN_SYMBOL_EXCEPTION_time_h
#define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h
#define FORBIDDEN_SYMBOL_EXCEPTION_mkdir
+#define FORBIDDEN_SYMBOL_EXCEPTION_exit //Needed for IRIX's unistd.h
#include "backends/fs/posix/posix-fs-factory.h"
#include "backends/fs/posix/posix-fs.h"
diff --git a/backends/fs/posix/posix-fs.cpp b/backends/fs/posix/posix-fs.cpp
index 08a7601c17..0b94c37b16 100644
--- a/backends/fs/posix/posix-fs.cpp
+++ b/backends/fs/posix/posix-fs.cpp
@@ -27,6 +27,7 @@
#define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h
#define FORBIDDEN_SYMBOL_EXCEPTION_mkdir
#define FORBIDDEN_SYMBOL_EXCEPTION_getenv
+#define FORBIDDEN_SYMBOL_EXCEPTION_exit //Needed for IRIX's unistd.h
#include "backends/fs/posix/posix-fs.h"
#include "backends/fs/stdiostream.h"