aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2016-03-26 01:55:49 +0100
committerBalint Reczey <balint@balintreczey.hu>2016-03-26 01:55:49 +0100
commit66cc42b894d26d05bfaa147e30ba5c10b5d16390 (patch)
tree098687354f08e5515ba4a963003baebc92493535
parenta1c2063a21911d2f83bb06e5124ffec03be7c9f6 (diff)
[core] added arm64 support to GetKernelCpuFamily()
-rw-r--r--xbmc/utils/SystemInfo.cpp2
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";