4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-19 08:23:30 +08:00

Fixed an issue in mdk where macro definitions are not supported in the C99 specification

This commit is contained in:
Yuqiang Wang 2024-03-20 20:21:17 +08:00 committed by Rbb666
parent 9d4b20c0fa
commit c0e632e56f

View File

@ -27,7 +27,7 @@
#define PRAGMA(x) _Pragma(#x)
#define rt_align(n) PRAGMA(data_alignment=n)
#define rt_weak __weak
#define rt_typeof typeof
#define rt_typeof __typeof
#define rt_noreturn
#define rt_inline static inline
#define rt_always_inline rt_inline