Add an ugly HACK to fix bug #2895217 "MSVC compilation broken with r47595".

svn-id: r45815
This commit is contained in:
Johannes Schickel 2009-11-10 21:14:27 +00:00
parent 7b7763021b
commit f23784b422

View File

@ -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"