aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp
diff options
context:
space:
mode:
authorMax Horn2010-10-31 00:01:00 +0000
committerMax Horn2010-10-31 00:01:00 +0000
commitac748c2ebd6fc437df2d7232edcc53cdbd532760 (patch)
tree15031634be722b3a9eeb03b08458083b733e64ac /backends/platform/psp
parent184c732bf6d1a2fd77eecf6f95314eb5181057ce (diff)
downloadscummvm-rg350-ac748c2ebd6fc437df2d7232edcc53cdbd532760.tar.gz
scummvm-rg350-ac748c2ebd6fc437df2d7232edcc53cdbd532760.tar.bz2
scummvm-rg350-ac748c2ebd6fc437df2d7232edcc53cdbd532760.zip
PSP: Enable use of forbidden symbols
svn-id: r53970
Diffstat (limited to 'backends/platform/psp')
-rw-r--r--backends/platform/psp/image_viewer.cpp3
-rw-r--r--backends/platform/psp/png_loader.cpp3
-rw-r--r--backends/platform/psp/pspkeyboard.cpp3
3 files changed, 9 insertions, 0 deletions
diff --git a/backends/platform/psp/image_viewer.cpp b/backends/platform/psp/image_viewer.cpp
index b859fe21d1..26b7f31c97 100644
--- a/backends/platform/psp/image_viewer.cpp
+++ b/backends/platform/psp/image_viewer.cpp
@@ -23,6 +23,9 @@
*
*/
+// Disable symbol overrides so that we can use system headers.
+#define FORBIDDEN_SYMBOL_ALLOW_ALL
+
#include "common/scummsys.h"
#include "common/str.h"
#include "common/stream.h"
diff --git a/backends/platform/psp/png_loader.cpp b/backends/platform/psp/png_loader.cpp
index a4efdb6b06..08f370f36d 100644
--- a/backends/platform/psp/png_loader.cpp
+++ b/backends/platform/psp/png_loader.cpp
@@ -23,6 +23,9 @@
*
*/
+// Disable symbol overrides so that we can use system headers.
+#define FORBIDDEN_SYMBOL_ALLOW_ALL
+
#include "common/scummsys.h"
#include "common/stream.h"
#include "backends/platform/psp/psppixelformat.h"
diff --git a/backends/platform/psp/pspkeyboard.cpp b/backends/platform/psp/pspkeyboard.cpp
index b758109285..f210726692 100644
--- a/backends/platform/psp/pspkeyboard.cpp
+++ b/backends/platform/psp/pspkeyboard.cpp
@@ -23,6 +23,9 @@
*
*/
+// Disable symbol overrides so that we can use system headers.
+#define FORBIDDEN_SYMBOL_ALLOW_ALL
+
//#define PSP_KB_SHELL /* Need a hack to properly load the keyboard from the PSP shell */
#ifdef PSP_KB_SHELL