diff --git a/src/boost_regex.hpp b/src/boost_regex.hpp index ed25454ac3..48d6e5e870 100644 --- a/src/boost_regex.hpp +++ b/src/boost_regex.hpp @@ -7,6 +7,9 @@ // Workaround for boost >= 1.78 #ifdef WIN32 +#ifndef NOMINMAX +#define NOMINMAX +#endif #include #endif