[Scummvm-cvs-logs] SF.net SVN: scummvm:[33626] scummvm/trunk/backends/platform/sdl/sdl.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Tue Aug 5 02:21:47 CEST 2008
Revision: 33626
http://scummvm.svn.sourceforge.net/scummvm/?rev=33626&view=rev
Author: Kirben
Date: 2008-08-05 00:21:46 +0000 (Tue, 05 Aug 2008)
Log Message:
-----------
Fix win32 compile.
Modified Paths:
--------------
scummvm/trunk/backends/platform/sdl/sdl.cpp
Modified: scummvm/trunk/backends/platform/sdl/sdl.cpp
===================================================================
--- scummvm/trunk/backends/platform/sdl/sdl.cpp 2008-08-04 23:38:11 UTC (rev 33625)
+++ scummvm/trunk/backends/platform/sdl/sdl.cpp 2008-08-05 00:21:46 UTC (rev 33626)
@@ -23,14 +23,18 @@
*
*/
+#if defined(WIN32)
+#include <windows.h>
+#if defined(ARRAYSIZE)
+// winnt.h defines ARRAYSIZE, but we want our own one... - this is needed before including util.h
+#undef ARRAYSIZE
+#endif
+#endif
+
#include "backends/platform/sdl/sdl.h"
#include "common/config-manager.h"
#include "common/events.h"
#include "common/file.h"
-#if defined(WIN32) && defined(ARRAYSIZE)
-// winnt.h defines ARRAYSIZE, but we want our own one... - this is needed before including util.h
-#undef ARRAYSIZE
-#endif
#include "common/util.h"
#include "backends/saves/default/default-saves.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