mirror of
https://github.com/Kiritow/MiniEngine.git
synced 2024-03-22 13:11:22 +08:00
Fix compile error in VS. Include path changed.
This commit is contained in:
parent
7f238b9935
commit
94a8afd09c
11
MiniEngine.h
11
MiniEngine.h
|
@ -1,9 +1,20 @@
|
|||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
/// Visual Studio (VC++ Compiler)
|
||||
#include <SDL.h>
|
||||
#undef main
|
||||
#include <SDL_image.h>
|
||||
#include <SDL_ttf.h>
|
||||
#include <SDL_mixer.h>
|
||||
#else
|
||||
/// CodeBlocks (MinGW Compiler)
|
||||
#include <SDL2/SDL.h>
|
||||
#undef main
|
||||
#include <SDL2/SDL_image.h>
|
||||
#include <SDL2/SDL_ttf.h>
|
||||
#include <SDL2/SDL_mixer.h>
|
||||
#endif
|
||||
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
|
Loading…
Reference in New Issue
Block a user