diff options
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 4 |
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); } } |