assert: Don't define static_assert in C++

This commit is contained in:
Paul A. Patience 2016-06-21 07:03:31 -04:00
parent bf0499aca3
commit 983ccf1b0a

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