diff options
author | Max Horn | 2010-10-31 17:10:45 +0000 |
---|---|---|
committer | Max Horn | 2010-10-31 17:10:45 +0000 |
commit | 086fe78af1b0d16d1902c8f9351e1dc7c103241b (patch) | |
tree | fe6248a0336b77457e2b87fe1476951cffa9ecd1 /backends/platform/wince/CEkeys | |
parent | ae829727da27a889ce8590bdc08d20c52833af20 (diff) | |
download | scummvm-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.cpp | 5 | ||||
-rw-r--r-- | backends/platform/wince/CEkeys/EventsBuffer.h | 2 |
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 { |