diff --git a/client/hostinfo_unix.cpp b/client/hostinfo_unix.cpp index 25ab356451..a3477140ff 100644 --- a/client/hostinfo_unix.cpp +++ b/client/hostinfo_unix.cpp @@ -755,6 +755,12 @@ static void get_cpu_info_maxosx(HOST_INFO& host) { *out++ = *in; } } while (*in++); + + // This returns an Apple hardware model designation such as "MacPro3,1". + // One source for converting this to a common model name is: + // + len = sizeof(host.product_name); + sysctlbyname("hw.model", host.product_name, &len, NULL, 0); } #endif