From 45fc7dfe871e25c913deb56063ca930dafe8b9ae Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 21 Sep 2013 21:46:17 +0300 Subject: fix compilation and partial running with SDL2 on Android. --- src/input/inputmanager.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/input') diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp index 12831560a..0f250dae6 100644 --- a/src/input/inputmanager.cpp +++ b/src/input/inputmanager.cpp @@ -563,10 +563,12 @@ bool InputManager::handleEvent(const SDL_Event &event) break; } #ifdef ANDROID +#ifndef USE_SDL2 case SDL_ACCELEROMETER: { break; } +#endif #endif default: break; @@ -604,10 +606,12 @@ bool InputManager::handleEvent(const SDL_Event &event) } break; #ifdef ANDROID +#ifndef USE_SDL2 case SDL_ACCELEROMETER: { break; } +#endif #endif default: break; -- cgit v1.2.3-60-g2f50