From 88ac9b5a9be0a4ee000b302a357d6bc7ee2c2305 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sat, 27 Dec 2008 20:21:55 +0000 Subject: Silenced warning about redefinition of ARRAYSIZE under Windows, after the latest FS changes svn-id: r35583 --- backends/fs/windows/windows-fs.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'backends/fs') 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 // winnt.h defines ARRAYSIZE, but we want our own one... #undef ARRAYSIZE -- cgit v1.2.3