diff --git a/library/MiscUtils.cpp b/library/MiscUtils.cpp index be59e9f6aa..082657ea34 100644 --- a/library/MiscUtils.cpp +++ b/library/MiscUtils.cpp @@ -33,7 +33,12 @@ distribution. // We don't want min and max macros #define NOMINMAX #include + // Suppress warning which occurs in header on some WinSDK versions + // See dfhack/dfhack#5147 for more information + #pragma warning(push) + #pragma warning(disable:4091) #include + #pragma warning(pop) #else #include #include