Merged in paulpatience/nuttx/assert (pull request #66)

assert: Don't define static_assert in C++
This commit is contained in:
Gregory Nutt 2016-06-21 05:59:55 -06:00
commit 951c71041d

View File

@ -89,11 +89,13 @@
# define assert(f) ASSERT(f)
#endif
/* Definition required for C++11 compile timer assertion checking. The
/* Definition required for C11 compile-time assertion checking. The
* static_assert macro simply expands to the _Static_assert keyword.
*/
#define static_assert _Static_assert
#ifndef __cplusplus
# define static_assert _Static_assert
#endif
/****************************************************************************
* Included Files