From 5f948690c9b2190c8a237bdfc0e67f4d68f4efd6 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Mon, 4 Sep 2023 14:17:11 -0400 Subject: [rtdef] rename RT_CTASSERT to RT_STATIC_ASSERT --- include/rtdef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/rtdef.h') 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 */ -- cgit v1.3.1