From bfa1f57158f7b16f73f3cdf3702610fe5b7eff93 Mon Sep 17 00:00:00 2001 From: Jett <55758076+Jettford@users.noreply.github.com> Date: Tue, 12 Jul 2022 03:06:54 +0100 Subject: [PATCH] Improve cpplinq checks On certain Windows header versions defining NOMINMAX doesn't work for some odd reason. --- thirdparty/cpplinq/cpplinq.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thirdparty/cpplinq/cpplinq.hpp b/thirdparty/cpplinq/cpplinq.hpp index d25cde85..ae9169d9 100644 --- a/thirdparty/cpplinq/cpplinq.hpp +++ b/thirdparty/cpplinq/cpplinq.hpp @@ -14,6 +14,8 @@ #ifndef CPPLINQ__HEADER_GUARD # define CPPLINQ__HEADER_GUARD +#undef min +#undef max #define NOMINMAX // ----------------------------------------------------------------------------