Merge pull request #804 from DanielChabrowski/globals-include

Add missing include in console_globals.h
This commit is contained in:
Gabi Melman 2018-08-23 00:12:17 +03:00 committed by GitHub
commit df962e5c53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,19 @@
#include <cstdio> #include <cstdio>
#include <mutex> #include <mutex>
#ifdef _WIN32
#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
namespace spdlog { namespace spdlog {
namespace details { namespace details {
struct console_stdout struct console_stdout