Change console_globals include to windows.h only

This commit is contained in:
Daniel Chabrowski 2018-08-22 22:47:16 +02:00
parent 3edc7f1d18
commit 2990126054

View File

@ -9,7 +9,16 @@
#include <mutex> #include <mutex>
#ifdef _WIN32 #ifdef _WIN32
#include "spdlog/details/os.h"
#ifndef NOMINMAX
#define NOMINMAX // prevent windows redefining min/max
#endif
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
#endif #endif
namespace spdlog { namespace spdlog {