Skip to content

Commit

Permalink
feat(tail-call): Set stack size to ULONG_MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
mertyildiran committed Jan 3, 2021
1 parent 94677f9 commit a3a2480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter/function.c
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ void initScopeless() {

#if !defined(_WIN32) && !defined(_WIN64) && !defined(__CYGWIN__)
void increaseStackSize() {
const rlim_t stack_size = LONG_MAX; // Maximum possible stack size
const rlim_t stack_size = ULONG_MAX; // Maximum possible stack size
struct rlimit rl;
int result;

Expand Down

0 comments on commit a3a2480

Please sign in to comment.