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
1 changed files with 13 additions and 0 deletions

View File

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