mirror of
https://github.com/monero-project/monero.git
synced 2025-08-02 16:26:17 -04:00
mac osx building fixes
This commit is contained in:
parent
67df296650
commit
79a4bedc36
11 changed files with 41 additions and 22 deletions
|
@ -252,7 +252,10 @@ namespace cryptonote
|
|||
return true;
|
||||
}
|
||||
|
||||
if(!m_core.get_miner().start(adr, static_cast<size_t>(req.threads_count)))
|
||||
boost::thread::attributes attrs;
|
||||
attrs.set_stack_size(THREAD_STACK_SIZE);
|
||||
|
||||
if(!m_core.get_miner().start(adr, static_cast<size_t>(req.threads_count), attrs))
|
||||
{
|
||||
res.status = "Failed, mining not started";
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue