some small cleanup and define WIN32_LEAN_AND_MEAN

This commit is contained in:
gabime 2014-12-19 18:44:17 +02:00
parent fcd1fc037f
commit e87af08180
2 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,6 @@
// Can be set to auto flush on every line // Can be set to auto flush on every line
// Throw spdlog_ex exception on errors // Throw spdlog_ex exception on errors
#include <cstdio>
#include <string> #include <string>
#include <thread> #include <thread>
#include <chrono> #include <chrono>

View File

@ -28,6 +28,7 @@
#include<cstdio> #include<cstdio>
#include<ctime> #include<ctime>
#ifdef _WIN32 #ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <Windows.h> #include <Windows.h>
#endif #endif