.apk builds. untested

This commit is contained in:
anon5 2016-06-14 08:52:17 +08:00 committed by egp
parent 28c2ca8bf8
commit 58b058ab3a
15 changed files with 314 additions and 10 deletions

View file

@ -25,6 +25,12 @@
// For image and info
#include "version.h"
#ifdef ANDROID
# include "to_string.h"
#else
# define to_string(x) std::to_string(x)
#endif
namespace i2p {
namespace http {
const char *itoopieFavicon =
@ -230,8 +236,8 @@ namespace http {
clientTunnelCount += i2p::tunnel::tunnels.CountInboundTunnels();
size_t transitTunnelCount = i2p::tunnel::tunnels.CountTransitTunnels();
s << "<b>Client Tunnels:</b> " << std::to_string(clientTunnelCount) << " ";
s << "<b>Transit Tunnels:</b> " << std::to_string(transitTunnelCount) << "<br>\r\n";
s << "<b>Client Tunnels:</b> " << to_string(clientTunnelCount) << " ";
s << "<b>Transit Tunnels:</b> " << to_string(transitTunnelCount) << "<br>\r\n";
}
void ShowJumpServices (std::stringstream& s, const std::string& address)