aboutsummaryrefslogtreecommitdiff
path: root/src/hardware_functions.cpp
diff options
context:
space:
mode:
authorDavid Skoland <davidskoland@gmail.com>2018-12-26 20:04:11 +0100
committerDavid Skoland <davidskoland@gmail.com>2018-12-26 20:04:11 +0100
commit2a43d56772137d69f5787b40fdfeb7e6effd68d5 (patch)
tree039fc816cdf903bfcc666584aedf89e7aa769693 /src/hardware_functions.cpp
parent68145616f597c4cfc65313fc2973d9480f98be89 (diff)
muh macos support
Diffstat (limited to 'src/hardware_functions.cpp')
-rw-r--r--src/hardware_functions.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/hardware_functions.cpp b/src/hardware_functions.cpp
index 29823cdf..ebba6ab7 100644
--- a/src/hardware_functions.cpp
+++ b/src/hardware_functions.cpp
@@ -50,6 +50,13 @@ QString get_hdid()
return "gxcpz32sa9fnwic92mfbs0";
}
+#elif defined __APPLE__
+QString get_hdid()
+{
+ //hdids are broken at this point anyways
+ return "just a mac passing by";
+}
+
#else
#error This operating system is unsupported for hardware functions.