mips: Fix RLIMIT_RSS naming
MIPS defined RLIMIT_RSS in a way that could cause a naming conflict with RLIMIT_RSS from the host system. Broke clang+MacOS build.
This commit is contained in:
@@ -117,7 +117,7 @@ class MipsLinux : public Linux
|
||||
/// Resource constants for getrlimit() (overide some generics).
|
||||
static const unsigned TGT_RLIMIT_NPROC = 8;
|
||||
static const unsigned TGT_RLIMIT_AS = 6;
|
||||
static const unsigned RLIMIT_RSS = 7;
|
||||
static const unsigned TGT_RLIMIT_RSS = 7;
|
||||
static const unsigned TGT_RLIMIT_NOFILE = 5;
|
||||
static const unsigned TGT_RLIMIT_MEMLOCK = 9;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user