Browse Source

ENH: fix up this changes for mac

Bill Hoffman 19 years ago
parent
commit
5208004560
3 changed files with 6 additions and 6 deletions
  1. 1 1
      Source/cmGlobalXCode21Generator.cxx
  2. 3 3
      Source/cmGlobalXCodeGenerator.cxx
  3. 2 2
      Source/cmake.cxx

+ 1 - 1
Source/cmGlobalXCode21Generator.cxx

@@ -19,7 +19,7 @@
 
 cmGlobalXCode21Generator::cmGlobalXCode21Generator()
 {
-  this->this->XcodeVersion = 21;
+  this->XcodeVersion = 21;
 }
 
 //----------------------------------------------------------------------------

+ 3 - 3
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
 

+ 2 - 2
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);
       }
     }