Skip to content
Commit dfd26dbb authored by Peter Bigot's avatar Peter Bigot Committed by Kumar Gala
Browse files

libc/minimal/assert: conditionalize static_assert macro



static_assert was not added to C until C11.  Zephyr builds default to
C99.  To preserve compatibility with newlib avoid defining the
macro at standard levels where it did not exist.

Relates to #17738 and #11754.

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