some small cleanup and define WIN32_LEAN_AND_MEAN
This commit is contained in:
		@@ -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 @@
 | 
				
			|||||||
#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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user