From a34a3c0050946a6ac74452aec63677d22792db6e Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Thu, 27 May 2021 23:23:39 +0800 Subject: [PATCH] [libc] Fix the RT_POSIX_AIO_THREAD_STACK_SIZE not defined issue --- components/libc/aio/posix_aio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/libc/aio/posix_aio.c b/components/libc/aio/posix_aio.c index e310ef1906..d7a0bac6d7 100644 --- a/components/libc/aio/posix_aio.c +++ b/components/libc/aio/posix_aio.c @@ -19,6 +19,10 @@ #include "posix_aio.h" +#ifndef RT_POSIX_AIO_THREAD_STACK_SIZE +#define RT_POSIX_AIO_THREAD_STACK_SIZE 2048 +#endif + struct rt_workqueue* aio_queue = NULL; /** -- Gitee