From 7072252902910e7d1af309cd0f0ec089b19fa096 Mon Sep 17 00:00:00 2001 From: Casey Link Date: Thu, 4 Dec 2014 14:32:00 +0100 Subject: [PATCH] fix build error on windows with certain #include permutations the lack of this define would break the build on windows as windows.h pollutes the namespace with min and max macros that conflict with std::min and std::max. --- library/include/modules/Filesystem.h | 1 + 1 file changed, 1 insertion(+) diff --git a/library/include/modules/Filesystem.h b/library/include/modules/Filesystem.h index 3798bbeb2..9268cb288 100644 --- a/library/include/modules/Filesystem.h +++ b/library/include/modules/Filesystem.h @@ -69,6 +69,7 @@ SOFTWARE. #ifdef _WIN32 #include +#define NOMINMAX #include #include #include