From d0512db25ce5bbd8f31151c3d2374f344f77f006 Mon Sep 17 00:00:00 2001 From: SupSuper Date: Sun, 16 Dec 2018 21:56:19 +0000 Subject: 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 --- backends/fs/windows/windows-fs.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'backends/fs') diff --git a/backends/fs/windows/windows-fs.h b/backends/fs/windows/windows-fs.h index 3758877f05..4be4cbf57e 100644 --- a/backends/fs/windows/windows-fs.h +++ b/backends/fs/windows/windows-fs.h @@ -25,12 +25,7 @@ #include "backends/fs/abstract-fs.h" -#if defined(ARRAYSIZE) -#undef ARRAYSIZE -#endif #include -// winnt.h defines ARRAYSIZE, but we want our own one... -#undef ARRAYSIZE #ifdef _WIN32_WCE #undef GetCurrentDirectory #endif -- cgit v1.2.3