]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix build errors in cpuafinity.cc
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 23 Nov 2015 01:46:29 +0000 (17:46 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 23 Nov 2015 01:46:29 +0000 (17:46 -0800)
commit9d13527a1467f97b0aa60149bb0892ffe01cfec3
tree79378b0cd535f09e9f868497e11466b4358207c0
parentd8a6ec7ffc68d4c3e2fa69197bbca0c026e11684
Fix build errors in cpuafinity.cc

So OS provide stub sched.h which contain various amounts of the CPU_*
macro gadgets but not working sched_setaffinity / sched_getaffinity.

We need to check for each macro separately and limit the
HAVE_CPU_AFFINITY protection to the syscalls which configure actually
checked for.
compat/cpu.h