From: Michael Jeanson Date: Tue, 13 Apr 2021 20:19:06 +0000 (-0400) Subject: fix: HAVE_SCHED_SETAFFINITY is not defined X-Git-Tag: v0.13.0~18 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=2388c075d46055bd33ee824c399d72c219b98d90;hp=2388c075d46055bd33ee824c399d72c219b98d90;p=urcu.git fix: HAVE_SCHED_SETAFFINITY is not defined 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 Signed-off-by: Mathieu Desnoyers Change-Id: Ieb46ddab9ba033a5c552dbe78ac398cea0a641e8 ---