]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Add missing stub definition for CPU_ISSET
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 24 Nov 2015 08:01:16 +0000 (00:01 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 24 Nov 2015 08:01:16 +0000 (00:01 -0800)
compat/cpu.h

index 14b688714792ad2d53ae3ffd12831560944220d9..b28ecc2738cadd9693abdbb5cd8499727a122134 100644 (file)
@@ -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)