From: Amos Jeffries Date: Sat, 28 Nov 2015 14:03:20 +0000 (-0800) Subject: Add missing stub definition for CPU_ISSET X-Git-Tag: SQUID_3_5_12~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d00180091a7557f0a6eee2e22863b649fa5f597a;p=thirdparty%2Fsquid.git Add missing stub definition for CPU_ISSET --- diff --git a/compat/cpu.h b/compat/cpu.h index 14b6887147..b28ecc2738 100644 --- a/compat/cpu.h +++ b/compat/cpu.h @@ -41,6 +41,10 @@ inline int sched_getaffinity(int, size_t, cpu_set_t *) { return ENOTSUP; } #define CPU_CLR(cpu, set) (void)0 #endif +#if !defined(CPU_ISSET) +#define CPU_ISSET(cpu, set) false +#endif + // glibc prior to 2.6 lacks CPU_COUNT #ifndef CPU_COUNT #define CPU_COUNT(set) CpuCount(set)