remove redundant include
This commit is contained in:
1 parent
fc2cc9d2a8
commit
cc77f9662d
1 file changed
-1
@@ -978,7 +978,6 @@ int num_CPUs(void) {
|
|||||||
GetSystemInfo(&sysinfo);
|
GetSystemInfo(&sysinfo);
|
||||||
return sysinfo.dwNumberOfProcessors;
|
return sysinfo.dwNumberOfProcessors;
|
||||||
#else
|
#else
|
||||||
#include <unistd.h>
|
|
||||||
int count = sysconf(_SC_NPROCESSORS_ONLN);
|
int count = sysconf(_SC_NPROCESSORS_ONLN);
|
||||||
if (count <= 0)
|
if (count <= 0)
|
||||||
count = 1;
|
count = 1;
|
||||||
|
|||||||
Reference in new issue
Block a user