From c413c43123cd652e896270f4b974e623592f20f1 Mon Sep 17 00:00:00 2001 From: Ted John Date: Sat, 16 Jul 2016 14:49:41 +0100 Subject: [PATCH] only include windows.h on windows --- src/core/Guard.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/Guard.cpp b/src/core/Guard.cpp index 0179caf63d..4a775b0c2f 100644 --- a/src/core/Guard.cpp +++ b/src/core/Guard.cpp @@ -17,7 +17,11 @@ #include #include #include + +#ifdef __WINDOWS__ +#define WIN32_LEAN_AND_MEAN #include +#endif #include "Console.hpp" #include "Diagnostics.hpp"