aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/defs_windows_amd64.go
diff options
context:
space:
mode:
authorShenghou Ma <minux@golang.org>2014-12-31 20:55:47 -0500
committerMinux Ma <minux@golang.org>2015-01-01 04:41:43 +0000
commit1f282385579fc404f1246fd7ffa8b4e517401d19 (patch)
treee75969639d397f07c5881f8738d2896177415bf0 /src/runtime/defs_windows_amd64.go
parent0b2a74e89cf940e1c4cd91785ff3d744684edc49 (diff)
downloadgo-1f282385579fc404f1246fd7ffa8b4e517401d19.tar.gz
go-1f282385579fc404f1246fd7ffa8b4e517401d19.zip
runtime: provide a dummy value of _SIGPROF on plan9 and windows
Fixes build on plan9 and windows. Change-Id: Ic9b02c641ab84e4f6d8149de71b9eb495e3343b2 Reviewed-on: https://go-review.googlesource.com/2233 Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Diffstat (limited to 'src/runtime/defs_windows_amd64.go')
-rw-r--r--src/runtime/defs_windows_amd64.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/defs_windows_amd64.go b/src/runtime/defs_windows_amd64.go
index 81b13597b7..ed28576aac 100644
--- a/src/runtime/defs_windows_amd64.go
+++ b/src/runtime/defs_windows_amd64.go
@@ -15,6 +15,7 @@ const (
_DUPLICATE_SAME_ACCESS = 0x2
_THREAD_PRIORITY_HIGHEST = 0x2
+ _SIGPROF = 0 // dummy value for badsignal
_SIGINT = 0x2
_CTRL_C_EVENT = 0x0
_CTRL_BREAK_EVENT = 0x1