From 81ff18b0b725a09c2e8e024f8a835756b7fb5a3c Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 3 May 2011 12:52:28 +0200 Subject: WII: Fix various forbidden symbol clashes --- backends/platform/wii/main.cpp | 3 +++ backends/platform/wii/osystem.cpp | 3 +++ backends/platform/wii/osystem.h | 1 - backends/platform/wii/osystem_events.cpp | 2 ++ backends/platform/wii/osystem_gfx.cpp | 2 ++ backends/platform/wii/osystem_sfx.cpp | 2 ++ 6 files changed, 12 insertions(+), 1 deletion(-) (limited to 'backends/platform/wii') diff --git a/backends/platform/wii/main.cpp b/backends/platform/wii/main.cpp index aa688534fc..959931de00 100644 --- a/backends/platform/wii/main.cpp +++ b/backends/platform/wii/main.cpp @@ -19,6 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#define FORBIDDEN_SYMBOL_EXCEPTION_chdir +#define FORBIDDEN_SYMBOL_EXCEPTION_printf + #include #include #include diff --git a/backends/platform/wii/osystem.cpp b/backends/platform/wii/osystem.cpp index ccf6b22db6..7a2abe8c6b 100644 --- a/backends/platform/wii/osystem.cpp +++ b/backends/platform/wii/osystem.cpp @@ -22,6 +22,9 @@ // Allow use of stuff in #define FORBIDDEN_SYMBOL_EXCEPTION_time_h +// Allow printf for debugging +#define FORBIDDEN_SYMBOL_EXCEPTION_printf + #include #include diff --git a/backends/platform/wii/osystem.h b/backends/platform/wii/osystem.h index d1ea8e07ae..0db5f92fff 100644 --- a/backends/platform/wii/osystem.h +++ b/backends/platform/wii/osystem.h @@ -24,7 +24,6 @@ #include #include -#include #include diff --git a/backends/platform/wii/osystem_events.cpp b/backends/platform/wii/osystem_events.cpp index 5d0bca453f..8e51bbc673 100644 --- a/backends/platform/wii/osystem_events.cpp +++ b/backends/platform/wii/osystem_events.cpp @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#define FORBIDDEN_SYMBOL_EXCEPTION_printf + #include #include diff --git a/backends/platform/wii/osystem_gfx.cpp b/backends/platform/wii/osystem_gfx.cpp index c2be608999..b44c1270f5 100644 --- a/backends/platform/wii/osystem_gfx.cpp +++ b/backends/platform/wii/osystem_gfx.cpp @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#define FORBIDDEN_SYMBOL_EXCEPTION_printf + #include #include diff --git a/backends/platform/wii/osystem_sfx.cpp b/backends/platform/wii/osystem_sfx.cpp index 33397f0a93..acab6df7e1 100644 --- a/backends/platform/wii/osystem_sfx.cpp +++ b/backends/platform/wii/osystem_sfx.cpp @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#define FORBIDDEN_SYMBOL_EXCEPTION_printf + #include #include "osystem.h" -- cgit v1.2.3