Fixes.
This commit is contained in:
parent
faf14f5e5a
commit
1587fb27d2
@ -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
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user