aboutsummaryrefslogtreecommitdiff
path: root/backends/fs
diff options
context:
space:
mode:
authorFilippos Karapetis2008-12-27 20:21:55 +0000
committerFilippos Karapetis2008-12-27 20:21:55 +0000
commit88ac9b5a9be0a4ee000b302a357d6bc7ee2c2305 (patch)
treea93238e0bcf7bb10281e1b187ab72cb90b332aae /backends/fs
parent213c09c211d993a6db3dfc158a091484418563db (diff)
downloadscummvm-rg350-88ac9b5a9be0a4ee000b302a357d6bc7ee2c2305.tar.gz
scummvm-rg350-88ac9b5a9be0a4ee000b302a357d6bc7ee2c2305.tar.bz2
scummvm-rg350-88ac9b5a9be0a4ee000b302a357d6bc7ee2c2305.zip
Silenced warning about redefinition of ARRAYSIZE under Windows, after the latest FS changes
svn-id: r35583
Diffstat (limited to 'backends/fs')
-rw-r--r--backends/fs/windows/windows-fs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/fs/windows/windows-fs.cpp b/backends/fs/windows/windows-fs.cpp
index 0b552e275c..9732efdb6d 100644
--- a/backends/fs/windows/windows-fs.cpp
+++ b/backends/fs/windows/windows-fs.cpp
@@ -24,6 +24,9 @@
#ifdef WIN32
+#if defined(ARRAYSIZE)
+#undef ARRAYSIZE
+#endif
#include <windows.h>
// winnt.h defines ARRAYSIZE, but we want our own one...
#undef ARRAYSIZE