]> Savannah Git Hosting - gnulib.git/commit
nproc: port better to macOS 10.14
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Oct 2021 02:33:46 +0000 (19:33 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Oct 2021 02:34:19 +0000 (19:34 -0700)
commit720d73c395bb2fcbae3566339a4102b485aa491d
tree47fbcb6ce4502868cfceb1db1173d6e88842b4e8
parent3a0f73ce978de44748e905053192735f67627ac6
nproc: port better to macOS 10.14

* lib/nproc.c (num_processors_ignoring_omp)
[HAVE_SYSCTL && !defined __GLIBC__ && defined HW_NCPU]:
Do not use a const mib, as macOS 10.14 rejects this.
ChangeLog
lib/nproc.c