Merge pull request #2946 from martin-frbg/issue2945
Move definitions that are neither needed nor supported on Solaris
This commit is contained in:
commit
76203e2120
|
@ -1767,11 +1767,11 @@ int get_num_procs(void);
|
|||
int get_num_procs(void) {
|
||||
|
||||
static int nums = 0;
|
||||
|
||||
#if defined(__GLIBC_PREREQ)
|
||||
cpu_set_t cpuset,*cpusetp;
|
||||
size_t size;
|
||||
int ret;
|
||||
|
||||
#if defined(__GLIBC_PREREQ)
|
||||
#if !__GLIBC_PREREQ(2, 7)
|
||||
int i;
|
||||
#if !__GLIBC_PREREQ(2, 6)
|
||||
|
|
Loading…
Reference in New Issue