Skip to content

Commit 76203e2

Browse files
authored
Merge pull request #2946 from martin-frbg/issue2945
Move definitions that are neither needed nor supported on Solaris
2 parents 2f9fc9b + fd7da56 commit 76203e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

driver/others/memory.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1767,11 +1767,11 @@ int get_num_procs(void);
17671767
int get_num_procs(void) {
17681768

17691769
static int nums = 0;
1770+
1771+
#if defined(__GLIBC_PREREQ)
17701772
cpu_set_t cpuset,*cpusetp;
17711773
size_t size;
17721774
int ret;
1773-
1774-
#if defined(__GLIBC_PREREQ)
17751775
#if !__GLIBC_PREREQ(2, 7)
17761776
int i;
17771777
#if !__GLIBC_PREREQ(2, 6)

0 commit comments

Comments
 (0)