1
--- a/protocols/jabber/googletalk/libjingle/talk/base/systeminfo.cc
2
+++ b/protocols/jabber/googletalk/libjingle/talk/base/systeminfo.cc
3
@@ -102,7 +102,7 @@ SystemInfo::SystemInfo()
5
cpu_arch_ = SI_ARCH_X86;
7
-#error "Unknown architecture."
8
+ cpu_arch_ = SI_ARCH_UNKNOWN;
12
@@ -144,8 +144,8 @@ SystemInfo::SystemInfo()
13
proc_info.GetNumCpus(&logical_cpus_);
14
proc_info.GetNumPhysicalCpus(&physical_cpus_);
15
proc_info.GetCpuFamily(&cpu_family_);
16
-#if !defined(__arm__)
17
- // These values aren't found on ARM systems.
19
+ // These values only apply to x86 systems.
20
proc_info.GetSectionIntValue(0, "model", &cpu_model_);
21
proc_info.GetSectionIntValue(0, "stepping", &cpu_stepping_);
22
proc_info.GetSectionIntValue(0, "cpu MHz", &cpu_speed_);
23
--- a/protocols/jabber/googletalk/libjingle/talk/base/systeminfo.h
24
+++ b/protocols/jabber/googletalk/libjingle/talk/base/systeminfo.h
25
@@ -37,6 +37,7 @@ namespace talk_base {
29
+ SI_ARCH_UNKNOWN = -1,