summaryrefslogtreecommitdiff
path: root/plugins/dfinput/pad.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dfinput/pad.h')
-rwxr-xr-xplugins/dfinput/pad.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/dfinput/pad.h b/plugins/dfinput/pad.h
index f362a876..9e72bf88 100755
--- a/plugins/dfinput/pad.h
+++ b/plugins/dfinput/pad.h
@@ -36,7 +36,7 @@ extern "C" {
#include <SDL.h>
#include <SDL_joystick.h>
-#if SDL_VERSION_ATLEAST(1,3,0)
+#if SDL_VERSION_ATLEAST(2,0,0)
#include <SDL_haptic.h>
#endif
@@ -84,7 +84,7 @@ __private_extern__ char* PLUGLOC(char* toloc);
#define N_(x) (x)
#endif
-#if SDL_VERSION_ATLEAST(1,3,0)
+#if SDL_VERSION_ATLEAST(2,0,0)
extern int has_haptic;
#endif
@@ -186,7 +186,7 @@ typedef struct tagPadState {
volatile int8_t MouseAxis[2][2];
uint8_t Vib0, Vib1;
volatile uint8_t VibF[2];
-#if SDL_VERSION_ATLEAST(1,3,0)
+#if SDL_VERSION_ATLEAST(2,0,0)
SDL_Haptic *haptic;
#else
#ifdef __linux__