Commit 380abbda authored by 翟国钧's avatar 翟国钧

udpate

parent 3e419211
...@@ -296,7 +296,7 @@ ...@@ -296,7 +296,7 @@
sysctlbyname("hw.cpusubtype", &subtype, &size, NULL, 0); sysctlbyname("hw.cpusubtype", &subtype, &size, NULL, 0);
if (type == CPU_TYPE_X86) { if (type == CPU_TYPE_X86) {
[cpuType appendString:@"x86 "]; [cpuType appendString:@"x86"];
} else if (type == CPU_TYPE_ARM) { } else if (type == CPU_TYPE_ARM) {
[cpuType appendString:@"ARM"]; [cpuType appendString:@"ARM"];
switch(subtype) { switch(subtype) {
...@@ -309,7 +309,6 @@ ...@@ -309,7 +309,6 @@
case CPU_SUBTYPE_ARM_V7S: case CPU_SUBTYPE_ARM_V7S:
[cpuType appendString:@"V7s"]; [cpuType appendString:@"V7s"];
break; break;
} }
} else if (type == CPU_TYPE_ARM64) { } else if (type == CPU_TYPE_ARM64) {
[cpuType appendString:@"ARM64"]; [cpuType appendString:@"ARM64"];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment