[arm_compiler_v4/v5] define rt_packed as __packed #10553

This commit is contained in:
cmbjxxiao
2025-08-06 15:16:18 +08:00
committed by GitHub
parent 83909b239f
commit 37d902537c
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
#if __ARMCC_VERSION >= 6010050
#define rt_packed(declare) declare __attribute__((packed))
#else
#define rt_packed(declare) declare
#define rt_packed(declare) __packed declare
#endif
#define rt_weak __attribute__((weak))
#define rt_typeof __typeof