Skip to content
Commit 235a5c17 authored by Peter Bigot's avatar Peter Bigot Committed by Maureen Helm
Browse files

sys/util: fix macro support when building with C++



true and false in a C environment are macros that are defined to 1 and
0 respectively.  In C++ they are keywords, and as such cause failures
when macro tests require they expand to a 1 or 0 token.  Use the
actual token values rather than the macro names when defining the
macros.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent dfb9f11b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment