From 0d5e8e289381bcff6f5d69c9625ff02a399b87ec Mon Sep 17 00:00:00 2001 From: kiritow <1362050620@qq.com> Date: Tue, 16 May 2017 16:50:16 +0800 Subject: [PATCH] Set include path of VS to normal in config --- MiniEngine_Config.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/MiniEngine_Config.h b/MiniEngine_Config.h index df13523..8533ea2 100644 --- a/MiniEngine_Config.h +++ b/MiniEngine_Config.h @@ -2,22 +2,18 @@ #ifdef _MSC_VER /// Visual Studio (VC++ Compiler) -#include -#undef main -#include -#include -#include - /// VC++ does not implied C++ exception. Use this to ignore compile warning on this. #pragma warning (disable:4290) +#define _COMPILER_LABLE 1 #else /// CodeBlocks (MinGW Compiler) +#define _COMPILER_LABLE 2 +#endif /// End of #ifdef _MSC_VER + #include #undef main #include #include #include -#endif /// End of #ifdef _MSC_VER - #define _DECL_DEPRECATED [[deprecated]]