src/joystick/SDL_gamecontroller.c
changeset 6708 1fa41febb331
parent 6702 3262d73b843b
child 6738 b408d5a406a3
--- a/src/joystick/SDL_gamecontroller.c	Tue Nov 27 00:58:12 2012 -0800
+++ b/src/joystick/SDL_gamecontroller.c	Tue Nov 27 01:07:44 2012 -0800
@@ -96,7 +96,9 @@
 };
 
 static ControllerMapping_t *s_pSupportedControllers = NULL;
+#ifdef SDL_JOYSTICK_DINPUT
 static ControllerMapping_t *s_pXInputMapping = NULL;
+#endif
 
 /* The SDL game controller structure */
 struct _SDL_GameController