summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-03-15 17:02:34 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-03-15 17:02:34 (GMT)
commit520800456006d5668c5eb7f8a437713e808b6e0e (patch)
tree27a771a742fa224e069659b78dd96e0093c6474a /Source/cmake.cxx
parentda279f0041586d10e0b6375b9f8d1c62c0d69608 (diff)
downloadCMake-520800456006d5668c5eb7f8a437713e808b6e0e.zip
CMake-520800456006d5668c5eb7f8a437713e808b6e0e.tar.gz
CMake-520800456006d5668c5eb7f8a437713e808b6e0e.tar.bz2
ENH: fix up this changes for mac
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 9496720..8411b92 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -112,9 +112,9 @@ cmake::cmake()
struct rlimit rlp;
if(!getrlimit(RLIMIT_STACK, &rlp))
{
- if(rlp.rlithis->cur != rlp.rlithis->max)
+ if(rlp.rlim_cur != rlp.rlim_max)
{
- rlp.rlithis->cur = rlp.rlithis->max;
+ rlp.rlim_cur = rlp.rlim_max;
setrlimit(RLIMIT_STACK, &rlp);
}
}