diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-09-21 09:38:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-09-21 09:38:28 +0400 |
commit | e11cd5a962803747ce3c0bddaef73a47d8938b63 (patch) | |
tree | fc0f4390ca230f0a567e0ce3429026a99632a08f /source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp | |
parent | 2064f5542ae8edf0c52bcc104f10696f5b6e3659 (diff) |
game engine now compiles with SDL disabled. CDROM and Joystick wont function in this case
Diffstat (limited to 'source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp')
-rw-r--r-- | source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp b/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp index 1e064f55397..0e2078265c9 100644 --- a/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp +++ b/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp @@ -29,7 +29,7 @@ #include "SCA_JoystickPrivate.h" - +#ifndef DISABLE_SDL void SCA_Joystick::OnAxisMotion(SDL_Event* sdl_event) { pFillAxes(); @@ -102,3 +102,4 @@ void SCA_Joystick::HandleEvents(void) } } } +#endif |