Merge pull request #3110 from martin-frbg/issue3108
Fix get_num_procs() in the USE_TLS branch for non-glibc systems
This commit is contained in:
		
						commit
						cb429d6b12
					
				| 
						 | 
				
			
			@ -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…
	
		Reference in New Issue