Fixed macOS build.

This commit is contained in:
XMRig 2021-02-18 15:22:39 +07:00
parent d2f01cfa86
commit d1d1517b4f
No known key found for this signature in database
GPG key ID: 446A53638BE94409

View file

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