summaryrefslogtreecommitdiff
path: root/src/components.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/components.c')
-rw-r--r--src/components.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components.c b/src/components.c
index 78eb002214..809ca72a1d 100644
--- a/src/components.c
+++ b/src/components.c
@@ -165,7 +165,7 @@ int entry(void)
#ifndef RT_USING_HEAP
/* if there is not enable heap, we should use static thread and stack. */
-ALIGN(RT_ALIGN_SIZE)
+rt_align(RT_ALIGN_SIZE)
static rt_uint8_t main_thread_stack[RT_MAIN_THREAD_STACK_SIZE];
struct rt_thread main_thread;
#endif /* RT_USING_HEAP */