fix: HAVE_SCHED_SETAFFINITY is not defined
[urcu.git] / src / workqueue.c
index 1e045fb7d4c40cf9d271878b8638d39a43b5fa49..72170012eafc2fb925f885b9a666be610901ec3f 100644 (file)
@@ -92,7 +92,7 @@ struct urcu_workqueue_completion_work {
  * Losing affinity can be caused by CPU hotunplug/hotplug, or by
  * cpuset(7).
  */
-#if HAVE_SCHED_SETAFFINITY
+#ifdef HAVE_SCHED_SETAFFINITY
 static int set_thread_cpu_affinity(struct urcu_workqueue *workqueue)
 {
        cpu_set_t mask;
This page took 0.02451 seconds and 4 git commands to generate.