From: Alex Brainman Date: Thu, 13 Nov 2014 01:05:36 +0000 (+1100) Subject: [dev.cc] runtime: add missing cb_max const X-Git-Tag: go1.5beta1~2688^2~58 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e5d01a5ffcfa3f14256f9fad902d00179c14407c;p=gostls13.git [dev.cc] runtime: add missing cb_max const LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/169490043 --- diff --git a/src/runtime/runtime2_windows.go b/src/runtime/runtime2_windows.go new file mode 100644 index 0000000000..80fc386e95 --- /dev/null +++ b/src/runtime/runtime2_windows.go @@ -0,0 +1,8 @@ +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package runtime + +// TODO(brainman): move generation of zsys_windows_*.s out from cmd/dist/buildruntime.c and into here +const cb_max = 2000 // maximum number of windows callbacks allowed (must be in sync with MAXWINCB from cmd/dist/buildruntime.c)