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

pull/24/head
gabime 11 years ago
parent a50e7ed61e
commit e9dc0d2196

@ -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

Loading…
Cancel
Save