aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
diff options
context:
space:
mode:
authorFilippos Karapetis2008-08-04 15:01:41 +0000
committerFilippos Karapetis2008-08-04 15:01:41 +0000
commit2efe13026d3d19583429f7e0de50b062db838980 (patch)
tree5a21f1c510b4e0a50be33e56b4f8d5b1b0361969 /backends/platform/sdl
parent05968b18c9dac22951618ce885d8e1587d94d324 (diff)
downloadscummvm-rg350-2efe13026d3d19583429f7e0de50b062db838980.tar.gz
scummvm-rg350-2efe13026d3d19583429f7e0de50b062db838980.tar.bz2
scummvm-rg350-2efe13026d3d19583429f7e0de50b062db838980.zip
Fixing compilation under MSVC
svn-id: r33610
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r--backends/platform/sdl/sdl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp
index d94271c10e..1095ddbddd 100644
--- a/backends/platform/sdl/sdl.cpp
+++ b/backends/platform/sdl/sdl.cpp
@@ -27,6 +27,10 @@
#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"