1
0
mirror of https://git.tukaani.org/xz.git synced 2025-02-08 09:45:45 +00:00
Lasse Collin 4c544d2410 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.
2015-03-27 22:39:07 +02:00
..
2014-10-29 21:28:25 +02:00
2009-09-19 09:47:30 +03:00
2010-09-10 10:30:33 +03:00
2009-09-19 09:47:30 +03:00