Commit f7e6610b authored by Committed by Fiona Glaser
Linux x264_cpu_num_processors(): use glibc macros
The cpu_set_t structure is considered opaque. Also handle sched_getaffinity() error case if "cpusetsize is smaller than the size of the affinity mask used by the kernel."
Showing with 1 addition and 7 deletions