From 94a8afd09c331e54dd630a4ec0a7914c5bd057ea Mon Sep 17 00:00:00 2001 From: kiritow <1362050620@qq.com> Date: Mon, 10 Apr 2017 21:14:12 +0800 Subject: [PATCH] Fix compile error in VS. Include path changed. --- MiniEngine.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/MiniEngine.h b/MiniEngine.h index 96db246..83ea367 100644 --- a/MiniEngine.h +++ b/MiniEngine.h @@ -1,9 +1,20 @@ #pragma once + +#ifdef _MSC_VER +/// Visual Studio (VC++ Compiler) +#include +#undef main +#include +#include +#include +#else +/// CodeBlocks (MinGW Compiler) #include #undef main #include #include #include +#endif #include #include