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/utils/process.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/utils/process.cpp') diff --git a/src/utils/process.cpp b/src/utils/process.cpp index 1859b1c2f..efd799987 100644 --- a/src/utils/process.cpp +++ b/src/utils/process.cpp @@ -238,10 +238,16 @@ bool openBrowser(std::string url) } #elif defined ANDROID #include "utils/stringutils.h" +#ifndef USE_SDL2 #include +#endif bool openBrowser(std::string url) { +#ifdef USE_SDL2 + // +++ need add support +#else SDL_ANDROID_OpenBrowser(replaceAll(url, " ", "").c_str()); +#endif return true; } #elif defined __APPLE__ -- cgit v1.2.3-70-g09d2