mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 19:44:24 +08:00
[arm_compiler_v4/v5] define rt_packed as __packed #10553
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user