aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMax Horn2011-05-23 19:11:19 +0200
committerMax Horn2011-05-23 19:12:26 +0200
commit6f6051a9e1da4d4debc1bf851b101c7a40d8b531 (patch)
treea5054a3d9cc10b436358bd8fe87347ab0267f452 /backends
parent590c6ede63d9fa61d2b05ce74596b043f5c79bc8 (diff)
downloadscummvm-rg350-6f6051a9e1da4d4debc1bf851b101c7a40d8b531.tar.gz
scummvm-rg350-6f6051a9e1da4d4debc1bf851b101c7a40d8b531.tar.bz2
scummvm-rg350-6f6051a9e1da4d4debc1bf851b101c7a40d8b531.zip
COMMON: Mark more symbols as forbidden
Diffstat (limited to 'backends')
-rw-r--r--backends/fs/posix/posix-fs.cpp1
-rw-r--r--backends/platform/sdl/posix/posix.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/backends/fs/posix/posix-fs.cpp b/backends/fs/posix/posix-fs.cpp
index 4d69a51a03..7f2ca695c5 100644
--- a/backends/fs/posix/posix-fs.cpp
+++ b/backends/fs/posix/posix-fs.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_getenv
#include "backends/fs/posix/posix-fs.h"
#include "backends/fs/stdiostream.h"
diff --git a/backends/platform/sdl/posix/posix.cpp b/backends/platform/sdl/posix/posix.cpp
index 84bbf55a92..4dd0039c1e 100644
--- a/backends/platform/sdl/posix/posix.cpp
+++ b/backends/platform/sdl/posix/posix.cpp
@@ -20,6 +20,7 @@
*
*/
+#define FORBIDDEN_SYMBOL_EXCEPTION_getenv
#define FORBIDDEN_SYMBOL_EXCEPTION_mkdir
#define FORBIDDEN_SYMBOL_EXCEPTION_time_h //On IRIX, sys/stat.h includes sys/time.h