From 0da99b7e0c40d924c8555ef41c38d361ea6c626d Mon Sep 17 00:00:00 2001 From: Mitch Hayenga Date: Tue, 26 Aug 2014 10:13:31 -0400 Subject: 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. --- src/arch/mips/linux/linux.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/mips/linux/linux.hh b/src/arch/mips/linux/linux.hh index 6ae5b1717..992bbf85d 100644 --- a/src/arch/mips/linux/linux.hh +++ b/src/arch/mips/linux/linux.hh @@ -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; -- cgit v1.2.3