Browse Source

Merge pull request #3110 from martin-frbg/issue3108

Fix get_num_procs()  in the USE_TLS branch for non-glibc systems
tags/v0.3.14^2
Martin Kroeker GitHub 4 years ago
parent
commit
cb429d6b12
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

@@ -222,11 +222,11 @@ int get_num_procs(void);
#else
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