diff --git a/core/deps/xbrz/xbrz.h b/core/deps/xbrz/xbrz.h index e1bce0502..431581229 100644 --- a/core/deps/xbrz/xbrz.h +++ b/core/deps/xbrz/xbrz.h @@ -21,6 +21,11 @@ #include #include "xbrz_config.h" +// Guard against msvc stupidity +#ifdef max +#undef max +#endif + namespace xbrz { /*