diff options
author | Alex Brainman <alex.brainman@gmail.com> | 2014-11-13 12:05:36 +1100 |
---|---|---|
committer | Alex Brainman <alex.brainman@gmail.com> | 2014-11-13 12:05:36 +1100 |
commit | 02a7c13f8e208ad8aabbed94522f4417e6f036e8 (patch) | |
tree | 85a0ae6142d31a7c2ec0f9287691eb7a865f7663 /src/runtime/runtime2_windows.go | |
parent | 2d6cf76c8f6c94674c830f14eefc64cf5d8b809b (diff) | |
download | go-02a7c13f8e208ad8aabbed94522f4417e6f036e8.tar.gz |
[dev.cc] runtime: add missing cb_max const
LGTM=rsc
R=rsc
CC=golang-codereviews
https://codereview.appspot.com/169490043
Diffstat (limited to 'src/runtime/runtime2_windows.go')
-rw-r--r-- | src/runtime/runtime2_windows.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/runtime/runtime2_windows.go b/src/runtime/runtime2_windows.go new file mode 100644 index 000000000..80fc386e9 --- /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) |