[rtdef] rename RT_CTASSERT to RT_STATIC_ASSERT

This commit is contained in:
Meco Man
2023-09-04 14:17:11 -04:00
parent 594db2b516
commit 5f948690c9
4 changed files with 5 additions and 5 deletions

View File

@@ -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 */