Browse Source

[libc] Fix the RT_POSIX_AIO_THREAD_STACK_SIZE not defined issue

Bernard Xiong 4 years ago
parent
commit
a34a3c0050
1 changed files with 4 additions and 0 deletions
  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;
 
 /**