mirror of
https://github.com/xmrig/xmrig.git
synced 2026-01-31 09:22:59 -05:00
Fixed macOS build.
This commit is contained in:
@@ -107,3 +107,10 @@ bool xmrig::Platform::isOnBatteryPower()
|
|||||||
{
|
{
|
||||||
return IOPSGetTimeRemainingEstimate() != kIOPSTimeRemainingUnlimited;
|
return IOPSGetTimeRemainingEstimate() != kIOPSTimeRemainingUnlimited;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
bool xmrig::Platform::isUserActive()
|
||||||
|
{
|
||||||
|
// TODO
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user