assert: Don't define static_assert in C++
This commit is contained in:
parent
bf0499aca3
commit
983ccf1b0a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user