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/actionmanager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/actionmanager.cpp') diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp index 3e675429e..3bbc30ffc 100644 --- a/src/actionmanager.cpp +++ b/src/actionmanager.cpp @@ -68,8 +68,10 @@ #include "utils/gettext.h" #ifdef ANDROID +#ifndef USE_SDL2 #include #endif +#endif #include "debug.h" @@ -1108,7 +1110,11 @@ impHandler0(stopSit) impHandler0(showKeyboard) { #ifdef ANDROID +#ifdef USE_SDL2 +// +++ need add support +#else SDL_ANDROID_ToggleScreenKeyboardTextInput(nullptr); +#endif return true; #else return false; -- cgit v1.2.3-70-g09d2