summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2023-09-04 14:17:11 -0400
committerMeco Man <[email protected]>2023-09-06 22:21:22 -0400
commit5f948690c9b2190c8a237bdfc0e67f4d68f4efd6 (patch)
treeb5b98b6d876e23404b0bb08ceb4abed55ff78966 /include/rtdef.h
parent594db2b5165f9bd44af5dbdef6310da3ea65d0b3 (diff)
[rtdef] rename RT_CTASSERT to RT_STATIC_ASSERT
Diffstat (limited to 'include/rtdef.h')
-rw-r--r--include/rtdef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 1966595ced..dd33473123 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -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 */