PR 1842/cpukit
	* score/include/rtems/score/basedefs.h: Added RTEMS_STATIC_ASSERT().
This commit is contained in:
Sebastian Huber
2011-07-21 12:00:20 +00:00
parent 26605b27e9
commit 51ab73b5d2
2 changed files with 8 additions and 0 deletions

View File

@@ -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.

View File

@@ -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;