Pārlūkot izejas kodu

[libc] Fix the RT_POSIX_AIO_THREAD_STACK_SIZE not defined issue

Bernard Xiong 4 gadi atpakaļ
vecāks
revīzija
a34a3c0050
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      components/libc/aio/posix_aio.c

+ 4 - 0
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;
 
 /**