mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 12:09:22 +00:00
Fixed macOS build.
This commit is contained in:
parent
d2f01cfa86
commit
d1d1517b4f
1 changed files with 7 additions and 0 deletions
|
@ -107,3 +107,10 @@ bool xmrig::Platform::isOnBatteryPower()
|
||||||
{
|
{
|
||||||
return IOPSGetTimeRemainingEstimate() != kIOPSTimeRemainingUnlimited;
|
return IOPSGetTimeRemainingEstimate() != kIOPSTimeRemainingUnlimited;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
bool xmrig::Platform::isUserActive()
|
||||||
|
{
|
||||||
|
// TODO
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue