aboutsummaryrefslogtreecommitdiff
path: root/backends/saves
diff options
context:
space:
mode:
authorSupSuper2018-12-16 21:56:19 +0000
committerFilippos Karapetis2018-12-17 12:28:33 +0200
commitd0512db25ce5bbd8f31151c3d2374f344f77f006 (patch)
tree33563123f9a15b0cb0a0c0d09b6c8599c5761422 /backends/saves
parent0a60e6ac8d36fbccf407e0a337ad12bc3d13faf3 (diff)
downloadscummvm-rg350-d0512db25ce5bbd8f31151c3d2374f344f77f006.tar.gz
scummvm-rg350-d0512db25ce5bbd8f31151c3d2374f344f77f006.tar.bz2
scummvm-rg350-d0512db25ce5bbd8f31151c3d2374f344f77f006.zip
WIN32: Move all ARRAYSIZE undefs to util.h
Instead of trying to undefine ARRAYSIZE everywhere we use a Windows header, let's just do it before we define our own
Diffstat (limited to 'backends/saves')
-rw-r--r--backends/saves/windows/windows-saves.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/backends/saves/windows/windows-saves.cpp b/backends/saves/windows/windows-saves.cpp
index fec4828725..50564e974d 100644
--- a/backends/saves/windows/windows-saves.cpp
+++ b/backends/saves/windows/windows-saves.cpp
@@ -22,12 +22,8 @@
#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...
#if defined(__GNUC__) && defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR)
// required for SHGFP_TYPE_CURRENT in shlobj.h
#define _WIN32_IE 0x500