src/joystick/SDL_sysjoystick.h
changeset 8985 a89acd7254f2
parent 8972 dfc759d7486f
child 9380 07b7c1005a23
--- a/src/joystick/SDL_sysjoystick.h	Mon Jul 07 11:13:19 2014 -0700
+++ b/src/joystick/SDL_sysjoystick.h	Mon Jul 07 11:44:14 2014 -0700
@@ -108,8 +108,10 @@
 /* Function to return the stable GUID for a opened joystick */
 extern SDL_JoystickGUID SDL_SYS_JoystickGetGUID(SDL_Joystick * joystick);
 
+#if SDL_JOYSTICK_XINPUT
 /* Function returns SDL_TRUE if this device is an XInput gamepad */
 extern SDL_bool SDL_SYS_IsXInputGamepad_DeviceIndex(int device_index);
+#endif
 
 #endif /* _SDL_sysjoystick_h */