mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-11-16 12:34:33 +00:00
[rtdef] rename RT_CTASSERT to RT_STATIC_ASSERT
This commit is contained in:
@@ -180,7 +180,7 @@ typedef rt_base_t rt_off_t; /**< Type for offset */
|
||||
#define RT_UNUSED(x) ((void)x)
|
||||
|
||||
/* compile time assertion */
|
||||
#define RT_CTASSERT(name, expn) typedef char _ct_assert_##name[(expn)?1:-1]
|
||||
#define RT_STATIC_ASSERT(name, expn) typedef char _static_assert_##name[(expn)?1:-1]
|
||||
|
||||
/* Compiler Related Definitions */
|
||||
#if defined(__ARMCC_VERSION) /* ARM Compiler */
|
||||
|
||||
Reference in New Issue
Block a user