mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-12 17:00:25 +08:00
#undef WIN32_LEAN_AND_MEAN if it was not dedfined before spdlog defined it
This commit is contained in:
parent
a50e7ed61e
commit
e9dc0d2196
@ -27,10 +27,18 @@
|
|||||||
#include<string>
|
#include<string>
|
||||||
#include<cstdio>
|
#include<cstdio>
|
||||||
#include<ctime>
|
#include<ctime>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#endif
|
#undef WIN32_LEAN_AND_MEAN
|
||||||
|
#else
|
||||||
|
#include <Windows.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif //_WIN32
|
||||||
|
|
||||||
namespace spdlog
|
namespace spdlog
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user