jorgenpt/ObjectiveMetrics — Issue #19: Make sure we're sending the right arch
Author: jorgenpt
Created: 2011-11-27 05:46:49+00:00
State: open
Labels: Bug

Something like this:

- (NSString *)kernelArchitecture
{
struct utsname name;
if (uname(&name) >= 0 && strcmp(name.machine, "x86_64") == 0)
// 64 bit
} else {
// 32 bit
}
}