ENH: fix up this changes for mac

This commit is contained in:
Bill Hoffman 2006-03-15 12:02:34 -05:00
parent da279f0041
commit 5208004560
3 changed files with 6 additions and 6 deletions

View File

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

View File

@ -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

View File

@ -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);
}
}