!536 修复最小化liteos_a编译问题
Merge pull request !536 from Caoruihong/liteos_a_mini
This commit is contained in:
commit
da43449939
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue