ENH: fix up this changes for mac
This commit is contained in:
parent
da279f0041
commit
5208004560
|
@ -19,7 +19,7 @@
|
|||
|
||||
cmGlobalXCode21Generator::cmGlobalXCode21Generator()
|
||||
{
|
||||
this->this->XcodeVersion = 21;
|
||||
this->XcodeVersion = 21;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue