Commit e87af081 authored by gabime's avatar gabime

some small cleanup and define WIN32_LEAN_AND_MEAN

parent fcd1fc03
...@@ -29,7 +29,6 @@ ...@@ -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>
......
...@@ -28,6 +28,7 @@ ...@@ -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
......
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