Просмотр исходного кода

[libc] Fix the RT_POSIX_AIO_THREAD_STACK_SIZE not defined issue

Bernard Xiong 4 лет назад
Родитель
Сommit
a34a3c0050
1 измененных файлов с 4 добавлено и 0 удалено
  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;
 
 /**