fix(mini): fix compile error in mini liteos_a
Signed-off-by: Caoruihong <crh.cao@huawei.com> Change-Id: I9ab63796e5d47ac44d24807f1ebd0bbfe46681bf
This commit is contained in:
parent
cdf96fef0c
commit
e13cb3bcc4
|
@ -170,6 +170,9 @@ int getrlimit(int resource, struct rlimit *rlim)
|
||||||
}
|
}
|
||||||
|
|
||||||
#define FSIZE_RLIMIT 0XFFFFFFFF
|
#define FSIZE_RLIMIT 0XFFFFFFFF
|
||||||
|
#ifndef NR_OPEN_DEFAULT
|
||||||
|
#define NR_OPEN_DEFAULT 1024
|
||||||
|
#endif
|
||||||
int setrlimit(int resource, const struct rlimit *rlim)
|
int setrlimit(int resource, const struct rlimit *rlim)
|
||||||
{
|
{
|
||||||
LosProcessCB *pcb = OsCurrProcessGet();
|
LosProcessCB *pcb = OsCurrProcessGet();
|
||||||
|
|
Loading…
Reference in New Issue