aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wince/CEkeys
diff options
context:
space:
mode:
authorMax Horn2010-10-31 17:10:45 +0000
committerMax Horn2010-10-31 17:10:45 +0000
commit086fe78af1b0d16d1902c8f9351e1dc7c103241b (patch)
treefe6248a0336b77457e2b87fe1476951cffa9ecd1 /backends/platform/wince/CEkeys
parentae829727da27a889ce8590bdc08d20c52833af20 (diff)
downloadscummvm-rg350-086fe78af1b0d16d1902c8f9351e1dc7c103241b.tar.gz
scummvm-rg350-086fe78af1b0d16d1902c8f9351e1dc7c103241b.tar.bz2
scummvm-rg350-086fe78af1b0d16d1902c8f9351e1dc7c103241b.zip
WINCE: Enable use of forbidden symbols, cleanup
I tried to untangle the header interdependencies a bit, but this is still quite a mess. This commit also fixes some warnings. svn-id: r53978
Diffstat (limited to 'backends/platform/wince/CEkeys')
-rw-r--r--backends/platform/wince/CEkeys/EventsBuffer.cpp5
-rw-r--r--backends/platform/wince/CEkeys/EventsBuffer.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/backends/platform/wince/CEkeys/EventsBuffer.cpp b/backends/platform/wince/CEkeys/EventsBuffer.cpp
index f31a77570f..3cdcb44173 100644
--- a/backends/platform/wince/CEkeys/EventsBuffer.cpp
+++ b/backends/platform/wince/CEkeys/EventsBuffer.cpp
@@ -23,6 +23,11 @@
*
*/
+// Disable symbol overrides so that we can use system headers.
+#define FORBIDDEN_SYMBOL_ALLOW_ALL
+
+#include <SDL.h>
+
#include "EventsBuffer.h"
namespace CEKEYS {
diff --git a/backends/platform/wince/CEkeys/EventsBuffer.h b/backends/platform/wince/CEkeys/EventsBuffer.h
index 44e1c66e47..22590db03c 100644
--- a/backends/platform/wince/CEkeys/EventsBuffer.h
+++ b/backends/platform/wince/CEkeys/EventsBuffer.h
@@ -30,8 +30,6 @@
#include "common/system.h"
#include "common/list.h"
-#include <SDL.h>
-
#include "gui/Key.h"
namespace CEKEYS {