aboutsummaryrefslogtreecommitdiff
path: root/backends/saves
diff options
context:
space:
mode:
authorLittleboy2012-07-11 01:20:19 -0400
committerLittleboy2012-07-14 12:22:11 -0400
commit339fb6968ea00e9c07e27eb7bd16560020d2ed98 (patch)
tree35f71c192fd0c35782f2e11dbe960bc3d151e176 /backends/saves
parent4e832ff947dcb998d76a33ccf86682e75c237fe1 (diff)
downloadscummvm-rg350-339fb6968ea00e9c07e27eb7bd16560020d2ed98.tar.gz
scummvm-rg350-339fb6968ea00e9c07e27eb7bd16560020d2ed98.tar.bz2
scummvm-rg350-339fb6968ea00e9c07e27eb7bd16560020d2ed98.zip
BACKENDS: Silence warning about ARRAYSIZE in windows-saves
Diffstat (limited to 'backends/saves')
-rw-r--r--backends/saves/windows/windows-saves.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/saves/windows/windows-saves.cpp b/backends/saves/windows/windows-saves.cpp
index 87348c3416..d520632394 100644
--- a/backends/saves/windows/windows-saves.cpp
+++ b/backends/saves/windows/windows-saves.cpp
@@ -26,8 +26,12 @@
#if defined(WIN32) && !defined(_WIN32_WCE) && !defined(DISABLE_DEFAULT_SAVEFILEMANAGER)
+#if defined(ARRAYSIZE)
+#undef ARRAYSIZE
+#endif
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
+#undef ARRAYSIZE // winnt.h defines ARRAYSIZE, but we want our own one...
#include "common/config-manager.h"
#include "common/savefile.h"