diff --git a/intern/clog/clog.cc b/intern/clog/clog.cc index d62f0d3c6b7..f9913b51e55 100644 --- a/intern/clog/clog.cc +++ b/intern/clog/clog.cc @@ -29,6 +29,9 @@ #endif #if defined(_MSC_VER) +# ifndef NOMINMAX +# define NOMINMAX +# endif # include # include /* This needs to be included after Windows.h. */