zephyr/lib/libc/minimal
Thiago Macieira 034b458141 libc: Add support for static_assert
The C11 standard requires this. From 7.2 "Diagnostics <assert.h>"
paragraph 1:
> The header <assert.h> defines the assert and static_assert macros...

paragraph 3:
> The macro
>     static_assert
> expands to _Static_assert.

Since static_assert is a keyword in C++11, don't define it if C++.

Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
2017-10-25 10:43:38 -07:00
..
include libc: Add support for static_assert 2017-10-25 10:43:38 -07:00
source libc: minimal: rename private macro 2017-02-04 19:22:07 +00:00
Makefile build: build libc as object, not kbuild library (lib.a) 2016-02-05 20:14:45 -05:00