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 12:25:21 +0000 (08:25 -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: Ieb46ddab9ba033a5c552dbe78ac398cea0a641e8


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