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,10 +27,18 @@ ...@@ -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
{ {
......
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