src/events/SDL_events.c
changeset 4698 52697090c967
parent 4460 363604b42e84
child 4729 1f7ad083fd3c
     1.1 --- a/src/events/SDL_events.c	Sun May 23 15:10:18 2010 +1200
     1.2 +++ b/src/events/SDL_events.c	Sun May 23 15:12:41 2010 +1200
     1.3 @@ -92,11 +92,13 @@
     1.4  static __inline__ SDL_bool
     1.5  SDL_ShouldPollJoystick()
     1.6  {
     1.7 +#if !SDL_JOYSTICK_DISABLED
     1.8      if (SDL_numjoysticks &&
     1.9          (!SDL_disabled_events[SDL_JOYAXISMOTION >> 8] ||
    1.10           SDL_JoystickEventState(SDL_QUERY))) {
    1.11          return SDL_TRUE;
    1.12      }
    1.13 +#endif
    1.14      return SDL_FALSE;
    1.15  }
    1.16