* Added IArchSystem::getPlatformName()

* Added CArchSystemWindows::isWOW64()
* Changed "Synergy" into "Synergy+" in various locations
* Added output of platform name to startup message
This commit is contained in:
sveith 2009-04-07 21:35:55 +00:00
parent 6d0ddb6a6b
commit 5c89bc4b17
11 changed files with 92 additions and 9 deletions

View file

@ -41,10 +41,20 @@ CArchSystemUnix::getOSName() const
msg += info.release;
msg += " ";
msg += info.version;
msg += " ";
msg += info.machine;
return msg;
}
#endif
return "Unix <unknown>";
return "Unix";
}
std::string
CArchSystemUnix::getPlatformName() const
{
#if defined(HAVE_SYS_UTSNAME_H)
struct utsname info;
if (uname(&info) == 0) {
return std::string(info.machine);
}
#endif
return "unknown";
}