fix: ifdef linux specific cpu count compat
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 15 Aug 2022 15:11:54 +0000 (11:11 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 17 Aug 2022 15:18:06 +0000 (11:18 -0400)
commit474b4fbfe408d2626800f48c905b36c1c0f50b82
tree26ab92038d681345483c30b0a8b70e0a39e3e866
parent017308529e8daf68c7a9da1cdf692f5d149d0ccd
fix: ifdef linux specific cpu count compat

Expand the '#ifdef __linux__' block in src/compat-cpu.h to all static
inline functions related to sysfs since they are only useful on Linux
and fail to build on some non-Linux platforms. This issue was reported
on QNX.

Thanks to Elad Lahav <e2lahav@gmail.com> for reporting this issue.

Change-Id: I17c88a9a2fb5b9be6cf5325234a18ff40788cd09
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/compat-smp.h
This page took 0.025378 seconds and 4 git commands to generate.