aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordhewg2011-05-03 18:27:23 +0200
committerdhewg2011-05-03 18:27:50 +0200
commitb85fc8f190d4ffa8f694612bd877fcac0b34e387 (patch)
treecaebd1e97c9c180b3dc8aa35b4b666a6040e8f1c
parent7a0c64631dcd1202e0a92e62a06ca2015e891cc9 (diff)
downloadscummvm-rg350-b85fc8f190d4ffa8f694612bd877fcac0b34e387.tar.gz
scummvm-rg350-b85fc8f190d4ffa8f694612bd877fcac0b34e387.tar.bz2
scummvm-rg350-b85fc8f190d4ffa8f694612bd877fcac0b34e387.zip
WII: Fix compilation
-rw-r--r--backends/fs/wii/wii-fs-factory.cpp1
-rw-r--r--backends/platform/wii/osystem.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/backends/fs/wii/wii-fs-factory.cpp b/backends/fs/wii/wii-fs-factory.cpp
index 64ad58a041..34cde8ef46 100644
--- a/backends/fs/wii/wii-fs-factory.cpp
+++ b/backends/fs/wii/wii-fs-factory.cpp
@@ -23,6 +23,7 @@
#if defined(__WII__)
#define FORBIDDEN_SYMBOL_EXCEPTION_printf
+#define FORBIDDEN_SYMBOL_EXCEPTION_getcwd
#include <unistd.h>
diff --git a/backends/platform/wii/osystem.cpp b/backends/platform/wii/osystem.cpp
index 7a2abe8c6b..401b19b0e1 100644
--- a/backends/platform/wii/osystem.cpp
+++ b/backends/platform/wii/osystem.cpp
@@ -22,8 +22,8 @@
// Allow use of stuff in <time.h>
#define FORBIDDEN_SYMBOL_EXCEPTION_time_h
-// Allow printf for debugging
#define FORBIDDEN_SYMBOL_EXCEPTION_printf
+#define FORBIDDEN_SYMBOL_EXCEPTION_getcwd
#include <unistd.h>