From e5d01a5ffcfa3f14256f9fad902d00179c14407c Mon Sep 17 00:00:00 2001 From: Alex Brainman Date: Thu, 13 Nov 2014 12:05:36 +1100 Subject: [PATCH] [dev.cc] runtime: add missing cb_max const LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/169490043 --- src/runtime/runtime2_windows.go | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/runtime/runtime2_windows.go 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) -- 2.50.0