.apk builds. untested

This commit is contained in:
anon5 authored and egp committed 2016-06-14 23:17:37 +08:00
1 parent 28c2ca8bf8
commit 58b058ab3a
15 files changed
+314 -10

No files matched your search

+7 -1
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);
}