Initial MSVC support.

This commit is contained in:
XMRig 2017-06-12 16:19:07 +03:00
parent a370b8fd30
commit 3df545cfc5
21 changed files with 845 additions and 96 deletions

View file

@ -35,7 +35,7 @@ Handle::Handle(int threadId, int threads, int64_t affinity, bool nicehash) :
}
void Handle::start(void *(*callback) (void *))
void Handle::start(void (*callback) (void *))
{
pthread_create(&m_thread, nullptr, callback, this);
uv_thread_create(&m_thread, callback, this);
}