Clean up SDL includes a bit. Maybe fix an SDL2 problem.

Conflicts:
	Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp
This commit is contained in:
Jordan Woyak 2013-02-05 15:32:13 -06:00 committed by Ryan Houdek
parent 46f94203b7
commit 1e64c38998
1 changed files with 2 additions and 10 deletions

View File

@ -5,22 +5,14 @@
#include <list>
#ifdef _WIN32
#include <SDL.h>
#else
#include <SDL/SDL.h>
#endif
#include <SDL.h>
#if SDL_VERSION_ATLEAST(1, 3, 0)
#define USE_SDL_HAPTIC
#endif
#ifdef USE_SDL_HAPTIC
#ifdef _WIN32
#include <SDL_haptic.h>
#else
#include <SDL/SDL_haptic.h>
#endif
#define SDL_INIT_FLAGS SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC
#else
#define SDL_INIT_FLAGS SDL_INIT_JOYSTICK