From 520800456006d5668c5eb7f8a437713e808b6e0e Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 15 Mar 2006 12:02:34 -0500 Subject: ENH: fix up this changes for mac --- Source/cmGlobalXCode21Generator.cxx | 2 +- Source/cmGlobalXCodeGenerator.cxx | 6 +++--- Source/cmake.cxx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/cmGlobalXCode21Generator.cxx b/Source/cmGlobalXCode21Generator.cxx index f8a50c1..f482b26 100644 --- a/Source/cmGlobalXCode21Generator.cxx +++ b/Source/cmGlobalXCode21Generator.cxx @@ -19,7 +19,7 @@ cmGlobalXCode21Generator::cmGlobalXCode21Generator() { - this->this->XcodeVersion = 21; + this->XcodeVersion = 21; } //---------------------------------------------------------------------------- diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 05289d0..bccf362 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -55,9 +55,9 @@ public: { this->Data.append(data, length); } - int this->Version; - std::string this->Key; - std::string this->Data; + int Version; + std::string Key; + std::string Data; }; #endif 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); } } -- cgit v0.12