fix: HAVE_SCHED_SETAFFINITY is not defined
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 13 Apr 2021 20:19:06 +0000 (16:19 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 15 Apr 2021 17:21:03 +0000 (13:21 -0400)
Use '#ifdef' instead of '#if' to test if HAVE_SCHED_SETAFFINITY is
defined. Both work but using '#if' on an undefined macro will generate a
warning with '-Wundef'.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ib8e13defb79e271da880196fd0a7f7f642999048


No differences found
This page took 0.024443 seconds and 4 git commands to generate.