.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 @@
#include "version.h"
#include "I2PControl.h"
#ifdef ANDROID
# include "to_string.h"
#else
# define to_string(x) std::to_string(x)
#endif
namespace i2p
{
namespace client
@ -315,7 +321,7 @@ namespace client
}
InsertParam (results, "API", api);
results << ",";
std::string token = std::to_string(i2p::util::GetSecondsSinceEpoch ());
std::string token = to_string(i2p::util::GetSecondsSinceEpoch ());
m_Tokens.insert (token);
InsertParam (results, "Token", token);
}