aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMax Horn2010-10-30 21:49:20 +0000
committerMax Horn2010-10-30 21:49:20 +0000
commit768038be1147d66b31e508b61099726018f96e10 (patch)
treef61514b191eaec63be6a12384975b71211eb7452 /backends
parent44393b2dc8ba78342dcbb7df39eca2e9e1f6e429 (diff)
downloadscummvm-rg350-768038be1147d66b31e508b61099726018f96e10.tar.gz
scummvm-rg350-768038be1147d66b31e508b61099726018f96e10.tar.bz2
scummvm-rg350-768038be1147d66b31e508b61099726018f96e10.zip
GP2x: Enable use of forbidden symbols
svn-id: r53962
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/gp2x/gp2x-hw.cpp3
-rw-r--r--backends/platform/gp2x/gp2x-mem.cpp3
-rw-r--r--backends/platform/gp2x/gp2x.cpp3
3 files changed, 9 insertions, 0 deletions
diff --git a/backends/platform/gp2x/gp2x-hw.cpp b/backends/platform/gp2x/gp2x-hw.cpp
index 75e4ca6471..6f544258ec 100644
--- a/backends/platform/gp2x/gp2x-hw.cpp
+++ b/backends/platform/gp2x/gp2x-hw.cpp
@@ -30,6 +30,9 @@
*
*/
+// Disable symbol overrides so that we can use system headers.
+#define FORBIDDEN_SYMBOL_ALLOW_ALL
+
#include "gp2x-common.h"
#include "gp2x-hw.h"
diff --git a/backends/platform/gp2x/gp2x-mem.cpp b/backends/platform/gp2x/gp2x-mem.cpp
index 97a34ffb6a..4a1802f311 100644
--- a/backends/platform/gp2x/gp2x-mem.cpp
+++ b/backends/platform/gp2x/gp2x-mem.cpp
@@ -28,6 +28,9 @@
*
*/
+// Disable symbol overrides so that we can use system headers.
+#define FORBIDDEN_SYMBOL_ALLOW_ALL
+
#include <stdio.h>
#include <signal.h>
#include <setjmp.h>
diff --git a/backends/platform/gp2x/gp2x.cpp b/backends/platform/gp2x/gp2x.cpp
index 88d4f9d632..0811380be9 100644
--- a/backends/platform/gp2x/gp2x.cpp
+++ b/backends/platform/gp2x/gp2x.cpp
@@ -28,6 +28,9 @@
*
*/
+// Disable symbol overrides so that we can use system headers.
+#define FORBIDDEN_SYMBOL_ALLOW_ALL
+
#include "backends/platform/gp2x/gp2x-common.h"
#include "backends/platform/gp2x/gp2x-hw.h"
#include "backends/platform/gp2x/gp2x-mem.h"