diff --git a/common/RedtapeWindows.h b/common/RedtapeWindows.h index 6caa925645..271d752217 100644 --- a/common/RedtapeWindows.h +++ b/common/RedtapeWindows.h @@ -14,10 +14,20 @@ */ #pragma once + #ifdef _WIN32 + +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#ifndef NOMINMAX +#define NOMINMAX +#endif + #include #include #include #include #include + #endif