summaryrefslogtreecommitdiffstats
path: root/src/osx/sensors.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osx/sensors.hpp')
-rw-r--r--src/osx/sensors.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osx/sensors.hpp b/src/osx/sensors.hpp
index 08581e1..fcb28b0 100644
--- a/src/osx/sensors.hpp
+++ b/src/osx/sensors.hpp
@@ -16,9 +16,12 @@ indent = tab
tab-size = 4
*/
+#include <Availability.h>
+#if __MAC_OS_X_VERSION_MIN_REQUIRED > 101504
namespace Cpu {
class ThermalSensors {
public:
long long getSensors();
};
} // namespace Cpu
+#endif