Commit 29901260 authored by Daniel Chabrowski's avatar Daniel Chabrowski

Change console_globals include to windows.h only

parent 3edc7f1d
...@@ -9,7 +9,16 @@ ...@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment