From: Amos Jeffries Date: Tue, 24 Nov 2015 08:01:16 +0000 (-0800) Subject: Add missing stub definition for CPU_ISSET X-Git-Tag: SQUID_4_0_3~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fe3bffac6a232ce22d2a1a14aea46bdf9c7697e4;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)