diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2023-04-23 18:16:38 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2023-04-23 18:16:38 -0400 |
commit | e71c07b9d5cc1236ca08536ae052faa5fc6b9096 (patch) | |
tree | e71d857f7e4fb6a6036ec159ae663d6edad2c192 /common.h | |
parent | 1f0c894080e0a3d62694a056456e378e36eb12a1 (diff) | |
download | whatami-e71c07b9d5cc1236ca08536ae052faa5fc6b9096.tar.gz |
Fix up darwin
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -41,6 +41,9 @@ unsigned int CPUID(unsigned int leaf, union regs_t *reg); int is_cpu_hyperthreaded(); int is_cpu_virtual(); char *get_sys_product(); +#if defined(__APPLE__) +char *get_sys_product_darwin(); +#endif unsigned int get_cpu_count(); char *get_cpu_manufacturer(); char *get_cpu_vendor(); |