aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2015-03-27 22:39:07 +0200
committerLasse Collin <lasse.collin@tukaani.org>2015-03-27 22:39:07 +0200
commit4c544d2410903d38402221cb783ed85585b6a007 (patch)
tree21b27a8b98147a14b1dd2dba9b58001547a0bfb3 /doc
parentxz: size_t/uint32_t cleanup in options.c. (diff)
downloadxz-4c544d2410903d38402221cb783ed85585b6a007.tar.xz
Fix CPU core count detection on QNX.
It tried to use sysctl() on QNX but - it broke the build because sysctl() needs -lsocket on QNX; - sysctl() doesn't work for detecting the core count on QNX even if it compiled. sysconf() works. An alternative would have been to use QNX-specific SYSPAGE_ENTRY(num_cpu) from <sys/syspage.h>. Thanks to Ole André Vadla Ravnås.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions