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 --- engines/engine.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'engines') diff --git a/engines/engine.cpp b/engines/engine.cpp index cc8c0132f9..0e7f64f8a4 100644 --- a/engines/engine.cpp +++ b/engines/engine.cpp @@ -26,8 +26,6 @@ #define WIN32_LEAN_AND_MEAN #include #include -// winnt.h defines ARRAYSIZE, but we want our own one... -#undef ARRAYSIZE #endif #include "engines/engine.h" -- cgit v1.2.3