Browse Source

Merge pull request #2946 from martin-frbg/issue2945

Move definitions that are neither needed nor supported on Solaris
tags/v0.3.13^2
Martin Kroeker GitHub 5 years ago
parent
commit
76203e2120
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      driver/others/memory.c

+ 2
- 2
driver/others/memory.c View File

@@ -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…
Cancel
Save