!536 修复最小化liteos_a编译问题

Merge pull request !536 from Caoruihong/liteos_a_mini
This commit is contained in:
openharmony_ci 2021-08-11 09:34:04 +00:00 committed by Gitee
commit da43449939
1 changed files with 3 additions and 0 deletions

View File

@ -170,6 +170,9 @@ int getrlimit(int resource, struct rlimit *rlim)
}
#define FSIZE_RLIMIT 0XFFFFFFFF
#ifndef NR_OPEN_DEFAULT
#define NR_OPEN_DEFAULT 1024
#endif
int setrlimit(int resource, const struct rlimit *rlim)
{
LosProcessCB *pcb = OsCurrProcessGet();