Commit e9dc0d21 authored by gabime's avatar gabime

#undef WIN32_LEAN_AND_MEAN if it was not dedfined before spdlog defined it

parent a50e7ed6
...@@ -27,11 +27,19 @@ ...@@ -27,11 +27,19 @@
#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>
#undef WIN32_LEAN_AND_MEAN
#else
#include <Windows.h>
#endif #endif
#endif //_WIN32
namespace spdlog namespace spdlog
{ {
namespace details namespace details
......
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