diff options
author | Johannes Schickel | 2009-11-10 21:14:27 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-11-10 21:14:27 +0000 |
commit | f23784b422d08b31b76af414cafbb593eb4bfbbe (patch) | |
tree | e3e469f4f0edd8a00af631d56765ff700bebab3c | |
parent | 7b7763021b86fbebb79397dd7eec8024e7cb1a6d (diff) | |
download | scummvm-rg350-f23784b422d08b31b76af414cafbb593eb4bfbbe.tar.gz scummvm-rg350-f23784b422d08b31b76af414cafbb593eb4bfbbe.tar.bz2 scummvm-rg350-f23784b422d08b31b76af414cafbb593eb4bfbbe.zip |
Add an ugly HACK to fix bug #2895217 "MSVC compilation broken with r47595".
svn-id: r45815
-rw-r--r-- | backends/platform/sdl/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/platform/sdl/main.cpp b/backends/platform/sdl/main.cpp index b38b815438..07b443fe34 100644 --- a/backends/platform/sdl/main.cpp +++ b/backends/platform/sdl/main.cpp @@ -31,6 +31,11 @@ #include <windows.h> // winnt.h defines ARRAYSIZE, but we want our own one... #undef ARRAYSIZE + +// FIXME/UGLY HACK: We need to include "SDL.h" before "scummsys.h" +// since "scummsys.h" checks for SDL_COMPILEDVERSION to decide +// whether it should define uint32_t / int32_t or not. +#include <SDL.h> #endif #include "common/scummsys.h" |