From 69ea41f821eee44c3b39d7541d18497fa840db3f Mon Sep 17 00:00:00 2001 From: Paulo Custodio Date: Mon, 8 Apr 2019 23:23:51 +0100 Subject: [PATCH] define NOMINMAX so that std::min and std::max may be used --- filesystem.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/filesystem.hpp b/filesystem.hpp index 2d7e6d1..6ae56a1 100644 --- a/filesystem.hpp +++ b/filesystem.hpp @@ -11,6 +11,10 @@ BSD-style license that can be found in the LICENSE file. */ +// miwindef.h defines min and max macros, these conflict with std::min and std::max +// defining NOMINMAX, the min and max are not defined +#define NOMINMAX + #include #include #include