1 /* Copyright 2019 Intel Corporation */
2 /* SPDX-License-Identifier: MIT */
4 #include "no_extern_c.h"
9 #if defined(__cplusplus)
10 /* This is C++ code, not C */
11 #elif (__STDC_VERSION__ >= 201112L)
17 * C11 static_assert() macro
18 * assert.h only defines that name for C11 and above
21 #define static_assert _Static_assert
25 #endif /* !C++ && !C11 */
27 #endif /* _C11_COMPAT_H_ */