diff options
Diffstat (limited to 'cpukit/score/include')
-rw-r--r-- | cpukit/score/include/rtems/score/basedefs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/basedefs.h b/cpukit/score/include/rtems/score/basedefs.h index 91774e4fec..086c9fd5c2 100644 --- a/cpukit/score/include/rtems/score/basedefs.h +++ b/cpukit/score/include/rtems/score/basedefs.h @@ -165,6 +165,9 @@ #define RTEMS_COMPILER_DEPRECATED_ATTRIBUTE #endif +#define RTEMS_STATIC_ASSERT(cond, msg) \ + typedef int rtems_static_assert ## msg [(cond) ? 1 : -1] + #ifndef ASM #ifdef RTEMS_DEPRECATED_TYPES typedef bool boolean; |