src/events/SDL_events.c
changeset 4729 1f7ad083fd3c
parent 4657 eed063a0bf5b
parent 4698 52697090c967
child 5062 e8916fe9cfc8
     1.1 --- a/src/events/SDL_events.c	Sun Aug 22 12:07:55 2010 -0700
     1.2 +++ b/src/events/SDL_events.c	Sun Aug 22 12:23:55 2010 -0700
     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