fix: 添加LOSCFG_MAX_OPEN_DIRS标识最大可打开dir数量
方案描述: 提供LOSCFG_MAX_OPEN_DIRS宏定义,标识最大可打开dir数量。 BREAKING CHANGE: 新增LOSCFG_MAX_OPEN_DIRS宏定义,标识最大可打开dir数量。 Close:#I6BVYZ Signed-off-by: zhangdengyu <zhangdengyu2@huawei.com>
This commit is contained in:
parent
6b26b1d825
commit
0988dcde34
|
@ -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