From f23784b422d08b31b76af414cafbb593eb4bfbbe Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 10 Nov 2009 21:14:27 +0000 Subject: Add an ugly HACK to fix bug #2895217 "MSVC compilation broken with r47595". svn-id: r45815 --- backends/platform/sdl/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'backends/platform/sdl/main.cpp') 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 // 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 #endif #include "common/scummsys.h" -- cgit v1.2.3