Move tests from SDL_config higher up in Windows joystick/haptic code.

Fixes Bugzilla #2932.
This commit is contained in:
Ryan C. Gordon 2015-05-28 00:54:52 -04:00
parent b007cfea84
commit f6992428b4
4 changed files with 9 additions and 13 deletions

View file

@ -20,15 +20,14 @@
*/
#include "../../SDL_internal.h"
#if SDL_JOYSTICK_XINPUT
#include "SDL_assert.h"
#include "SDL_hints.h"
#include "../SDL_sysjoystick.h"
#include "SDL_windowsjoystick_c.h"
#include "SDL_xinputjoystick_c.h"
#if SDL_JOYSTICK_XINPUT
/*
* Internal stuff.
*/