mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-03 08:28:29 +00:00
Move tests from SDL_config higher up in Windows joystick/haptic code.
Fixes Bugzilla #2932.
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
*/
|
||||
#include "../../SDL_internal.h"
|
||||
|
||||
#if SDL_HAPTIC_DINPUT
|
||||
|
||||
#include "SDL_error.h"
|
||||
#include "SDL_stdinc.h"
|
||||
#include "SDL_haptic.h"
|
||||
@@ -29,9 +31,6 @@
|
||||
#include "../SDL_syshaptic.h"
|
||||
#include "../../joystick/windows/SDL_windowsjoystick_c.h"
|
||||
|
||||
|
||||
#if SDL_HAPTIC_DINPUT
|
||||
|
||||
/*
|
||||
* External stuff.
|
||||
*/
|
||||
@@ -1181,7 +1180,6 @@ SDL_DINPUT_HapticStopAll(SDL_Haptic * haptic)
|
||||
|
||||
#else /* !SDL_HAPTIC_DINPUT */
|
||||
|
||||
|
||||
int
|
||||
SDL_DINPUT_HapticInit(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user