]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.cc] runtime: add missing cb_max const
authorAlex Brainman <alex.brainman@gmail.com>
Thu, 13 Nov 2014 01:05:36 +0000 (12:05 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 13 Nov 2014 01:05:36 +0000 (12:05 +1100)
LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/169490043

src/runtime/runtime2_windows.go [new file with mode: 0644]

diff --git a/src/runtime/runtime2_windows.go b/src/runtime/runtime2_windows.go
new file mode 100644 (file)
index 0000000..80fc386
--- /dev/null
@@ -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)