aboutsummaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2023-04-23 18:16:38 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2023-04-23 18:16:38 -0400
commite71c07b9d5cc1236ca08536ae052faa5fc6b9096 (patch)
treee71d857f7e4fb6a6036ec159ae663d6edad2c192 /common.h
parent1f0c894080e0a3d62694a056456e378e36eb12a1 (diff)
downloadwhatami-e71c07b9d5cc1236ca08536ae052faa5fc6b9096.tar.gz
Fix up darwin
Diffstat (limited to 'common.h')
-rw-r--r--common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.h b/common.h
index b936a62..832d85c 100644
--- a/common.h
+++ b/common.h
@@ -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();