From dde435587d216b0e010f495cdebf92d27e680ce4 Mon Sep 17 00:00:00 2001 From: Alex Brainman Date: Thu, 14 Jul 2011 09:13:39 +1000 Subject: [PATCH] runtime: correct FixedStack value (fixes windows build) Fixes #2068. R=rsc CC=golang-dev https://golang.org/cl/4705046 --- src/pkg/runtime/stack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/runtime/stack.h b/src/pkg/runtime/stack.h index cf35365366..44d5533f45 100644 --- a/src/pkg/runtime/stack.h +++ b/src/pkg/runtime/stack.h @@ -71,7 +71,7 @@ enum { // If the amount needed for the splitting frame + StackExtra // is less than this number, the stack will have this size instead. StackMin = 4096, - FixedStack = StackMin, + FixedStack = StackMin + StackSystem, // Functions that need frames bigger than this call morestack // unconditionally. That is, on entry to a function it is assumed -- 2.50.0