Changes in directory llvm/lib/System/Unix:
Program.inc updated: 1.24 -> 1.25 --- Log message: Fix LLVM build on NetBSD. Patch by Neil Booth. --- Diffs of the changes: (+2 -0) Program.inc | 2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/System/Unix/Program.inc diff -u llvm/lib/System/Unix/Program.inc:1.24 llvm/lib/System/Unix/Program.inc:1.25 --- llvm/lib/System/Unix/Program.inc:1.24 Mon Apr 23 02:22:51 2007 +++ llvm/lib/System/Unix/Program.inc Mon Jun 4 10:28:57 2007 @@ -125,11 +125,13 @@ r.rlim_cur = limit; setrlimit (RLIMIT_RSS, &r); #endif +#ifdef RLIMIT_AS // e.g. NetBSD doesn't have it. // Virtual memory. getrlimit (RLIMIT_AS, &r); r.rlim_cur = limit; setrlimit (RLIMIT_AS, &r); #endif +#endif } int _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits