pollymc/libraries/ganalytics/src/sys_unix.cpp

14 lines
207 B
C++
Raw Normal View History

#include "sys.h"
#include <sys/utsname.h>
QString Sys::getSystemInfo()
{
struct utsname buf;
uname(&buf);
QString system(buf.sysname);
QString release(buf.release);
return system + "; " + release;
}