[Scummvm-cvs-logs] SF.net SVN: scummvm:[45815] scummvm/trunk/backends/platform/sdl/main.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Tue Nov 10 22:14:27 CET 2009
Revision: 45815
http://scummvm.svn.sourceforge.net/scummvm/?rev=45815&view=rev
Author: lordhoto
Date: 2009-11-10 21:14:27 +0000 (Tue, 10 Nov 2009)
Log Message:
-----------
Add an ugly HACK to fix bug #2895217 "MSVC compilation broken with r47595".
Modified Paths:
--------------
scummvm/trunk/backends/platform/sdl/main.cpp
Modified: scummvm/trunk/backends/platform/sdl/main.cpp
===================================================================
--- scummvm/trunk/backends/platform/sdl/main.cpp 2009-11-10 20:42:46 UTC (rev 45814)
+++ scummvm/trunk/backends/platform/sdl/main.cpp 2009-11-10 21:14:27 UTC (rev 45815)
@@ -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"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list