mirror of
https://github.com/xmrig/xmrig.git
synced 2026-01-23 14:52:52 -05:00
Added support to build without API.
This commit is contained in:
@@ -194,5 +194,7 @@ void Workers::onTick(uv_timer_t *handle)
|
||||
m_hashrate->updateHighest();
|
||||
}
|
||||
|
||||
# ifndef XMRIG_NO_API
|
||||
Api::tick(m_hashrate);
|
||||
# endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user