This commit is contained in:
XMRig 2017-06-14 21:33:20 +03:00
parent faf14f5e5a
commit 1587fb27d2
2 changed files with 1 additions and 4 deletions

View File

@ -84,6 +84,7 @@ if (WIN32)
src/net/Network_win.cpp
)
add_definitions(/DWIN32)
set(EXTRA_LIBS ws2_32 psapi iphlpapi userenv)
elseif (APPLE)
set(SOURCES_OS

View File

@ -42,10 +42,6 @@ void Cpu::init()
void Cpu::setAffinity(int id, unsigned long mask)
{
if (id == -1) {
return;
}
cpu_set_t set;
CPU_ZERO(&set);