diff options
author | Balint Reczey <balint@balintreczey.hu> | 2016-03-26 01:55:49 +0100 |
---|---|---|
committer | Balint Reczey <balint@balintreczey.hu> | 2016-03-26 01:55:49 +0100 |
commit | 66cc42b894d26d05bfaa147e30ba5c10b5d16390 (patch) | |
tree | 098687354f08e5515ba4a963003baebc92493535 | |
parent | a1c2063a21911d2f83bb06e5124ffec03be7c9f6 (diff) |
[core] added arm64 support to GetKernelCpuFamily()
-rw-r--r-- | xbmc/utils/SystemInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/utils/SystemInfo.cpp b/xbmc/utils/SystemInfo.cpp index eb85abb8f8..fcbfec3298 100644 --- a/xbmc/utils/SystemInfo.cpp +++ b/xbmc/utils/SystemInfo.cpp @@ -991,7 +991,7 @@ const std::string& CSysInfo::GetKernelCpuFamily(void) if (uname(&un) == 0) { std::string machine(un.machine); - if (machine.compare(0, 3, "arm", 3) == 0) + if (machine.compare(0, 3, "arm", 3) == 0 || machine.compare(0, 7, "aarch64", 7) == 0) kernelCpuFamily = "ARM"; else if (machine.compare(0, 4, "mips", 4) == 0) kernelCpuFamily = "MIPS"; |