forked from Imagelibrary/rtems
2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1842/cpukit * score/include/rtems/score/basedefs.h: Added RTEMS_STATIC_ASSERT().
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
PR 1842/cpukit
|
||||
* score/include/rtems/score/basedefs.h: Added RTEMS_STATIC_ASSERT().
|
||||
|
||||
2011-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* score/include/rtems/score/chain.h: Fix typo.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user