Add version info for iOS

This commit is contained in:
Benau 2019-07-16 10:39:14 +08:00
parent 3e912900fb
commit 1b0bae6954

View File

@ -1380,7 +1380,9 @@ namespace StringUtils
std::string getUserAgentString()
{
std::string uagent(std::string("SuperTuxKart/") + STK_VERSION);
#ifdef WIN32
#if defined(IOS_STK)
uagent += (std::string)" (iOS)";
#elif defined(WIN32)
uagent += (std::string)" (Windows)";
#elif defined(__APPLE__)
uagent += (std::string)" (Macintosh)";