~lttng/urcu/trunk

Viewing all changes in revision 1332.

  • Committer: Mathieu Desnoyers
  • Author(s): Michael Jeanson
  • Date: 2021-04-15 12:25:21 UTC
  • Revision ID: git-v1:2388c075d46055bd33ee824c399d72c219b98d90
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 <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ieb46ddab9ba033a5c552dbe78ac398cea0a641e8

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: