Set include path of VS to normal in config

This commit is contained in:
Kirigaya Kazuto 2017-05-16 16:50:16 +08:00
parent 65435476b6
commit 0d5e8e2893

View File

@ -2,22 +2,18 @@
#ifdef _MSC_VER #ifdef _MSC_VER
/// Visual Studio (VC++ Compiler) /// Visual Studio (VC++ Compiler)
#include <SDL.h>
#undef main
#include <SDL_image.h>
#include <SDL_ttf.h>
#include <SDL_mixer.h>
/// VC++ does not implied C++ exception. Use this to ignore compile warning on this. /// VC++ does not implied C++ exception. Use this to ignore compile warning on this.
#pragma warning (disable:4290) #pragma warning (disable:4290)
#define _COMPILER_LABLE 1
#else #else
/// CodeBlocks (MinGW Compiler) /// CodeBlocks (MinGW Compiler)
#define _COMPILER_LABLE 2
#endif /// End of #ifdef _MSC_VER
#include <SDL2/SDL.h> #include <SDL2/SDL.h>
#undef main #undef main
#include <SDL2/SDL_image.h> #include <SDL2/SDL_image.h>
#include <SDL2/SDL_ttf.h> #include <SDL2/SDL_ttf.h>
#include <SDL2/SDL_mixer.h> #include <SDL2/SDL_mixer.h>
#endif /// End of #ifdef _MSC_VER
#define _DECL_DEPRECATED [[deprecated]] #define _DECL_DEPRECATED [[deprecated]]