diff --git a/include/spdlog/details/os.h b/include/spdlog/details/os.h index 09fba05b..0f01ffb9 100644 --- a/include/spdlog/details/os.h +++ b/include/spdlog/details/os.h @@ -13,14 +13,14 @@ #ifdef _WIN32 -# ifndef NOMINMAX +#ifndef NOMINMAX #define NOMINMAX //prevent windows redefining min/max #endif -# ifndef WIN32_LEAN_AND_MEAN -# define WIN32_LEAN_AND_MEAN -# endif -# include +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include #ifdef __MINGW32__ #include