Added support to build without API.

This commit is contained in:
XMRig 2017-09-02 12:12:40 +03:00
parent 325e116624
commit fd98dc236a
3 changed files with 9 additions and 0 deletions

View file

@ -183,7 +183,9 @@ void Network::tick()
m_donate->tick(now);
}
# ifndef XMRIG_NO_API
Api::tick(m_state);
# endif
}