From ce505c1b0cae9c75c76d39c34169987f100f6b48 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Wed, 8 Oct 2014 12:09:40 -0700 Subject: [PATCH] add a missing HAVE_SDL wrap on setter in Joystick --- interface/src/devices/Joystick.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/interface/src/devices/Joystick.h b/interface/src/devices/Joystick.h index 0335bf6af3..8343c20a04 100644 --- a/interface/src/devices/Joystick.h +++ b/interface/src/devices/Joystick.h @@ -38,7 +38,10 @@ public: void update(); void closeJoystick(); + +#ifdef HAVE_SDL void setSDLJoystick(SDL_Joystick* sdlJoystick) { _sdlJoystick = sdlJoystick; } +#endif const QString& getName() const { return _name; }