!1018 fix:添加MAX_OPEN_DIRS宏,标识最大可打开dir数量
Merge pull request !1018 from zhangdengyu/max_open_dir
This commit is contained in:
commit
93e8dee1ae
|
@ -138,4 +138,9 @@
|
|||
|
||||
#define MAX_DIRENT_NUM 14 // 14 means 4096 length buffer can store 14 dirent, see struct DIR
|
||||
|
||||
/* max number of open directories */
|
||||
#ifndef LOSCFG_MAX_OPEN_DIRS
|
||||
#define LOSCFG_MAX_OPEN_DIRS 10
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue