Move definitions that are neither needed nor supported on SUNOS
This commit is contained in:
parent
680f744abf
commit
fd7da56965
|
@ -1767,11 +1767,11 @@ int get_num_procs(void);
|
||||||
int get_num_procs(void) {
|
int get_num_procs(void) {
|
||||||
|
|
||||||
static int nums = 0;
|
static int nums = 0;
|
||||||
|
|
||||||
|
#if defined(__GLIBC_PREREQ)
|
||||||
cpu_set_t cpuset,*cpusetp;
|
cpu_set_t cpuset,*cpusetp;
|
||||||
size_t size;
|
size_t size;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
#if defined(__GLIBC_PREREQ)
|
|
||||||
#if !__GLIBC_PREREQ(2, 7)
|
#if !__GLIBC_PREREQ(2, 7)
|
||||||
int i;
|
int i;
|
||||||
#if !__GLIBC_PREREQ(2, 6)
|
#if !__GLIBC_PREREQ(2, 6)
|
||||||
|
|
Loading…
Reference in New Issue