aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/stack.h
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2011-07-14 09:13:39 +1000
committerAlex Brainman <alex.brainman@gmail.com>2011-07-14 09:13:39 +1000
commitdde435587d216b0e010f495cdebf92d27e680ce4 (patch)
treea55fe8def283277bd48b3046d87085c7ac8edc77 /src/pkg/runtime/stack.h
parent3f2cc8ba7eb87fad2378723141687ac037c0f1dc (diff)
downloadgo-dde435587d216b0e010f495cdebf92d27e680ce4.tar.xz
runtime: correct FixedStack value (fixes windows build)
Fixes #2068. R=rsc CC=golang-dev https://golang.org/cl/4705046
Diffstat (limited to 'src/pkg/runtime/stack.h')
-rw-r--r--src/pkg/runtime/stack.h2
1 files changed, 1 insertions, 1 deletions
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