1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-07 16:05:05 -05:00

Fixed macOS build.

This commit is contained in:
XMRig
2021-02-18 15:22:39 +07:00
parent d2f01cfa86
commit d1d1517b4f

View File

@@ -107,3 +107,10 @@ bool xmrig::Platform::isOnBatteryPower()
{
return IOPSGetTimeRemainingEstimate() != kIOPSTimeRemainingUnlimited;
}
bool xmrig::Platform::isUserActive()
{
// TODO
return false;
}