commit | dfd26dbbeb1b89dbefccf9e3fb523df70cd729de | [log] [tgz] |
---|---|---|
author | Peter Bigot <peter.bigot@nordicsemi.no> | Mon Aug 19 14:48:47 2019 -0500 |
committer | Kumar Gala <kumar.gala@gmail.com> | Thu Sep 19 09:37:42 2019 -0500 |
tree | be845a8e37c99fea41f3471fb90557b83427b935 | |
parent | fbcbe0f11b060a926f7c0fbf37dbd6aa3bda1b6d [diff] |
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: Peter Bigot <peter.bigot@nordicsemi.no>