From 4a7cdc794452ce31432b881af99ec994887d07ee Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Tue, 18 Jan 2011 23:00:19 -0800 Subject: [PATCH] syscall: fix build. WUNTRACED isn't defined for win32. For Windows, the options for syscall.Wait4() aren't used. Then this will be dummy value like WNOHANG, WSTOPPED. R=golang-dev, r CC=golang-dev https://golang.org/cl/4075041 --- src/pkg/syscall/syscall_windows.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pkg/syscall/syscall_windows.go b/src/pkg/syscall/syscall_windows.go index 33a86ce251e..06dde518fdc 100644 --- a/src/pkg/syscall/syscall_windows.go +++ b/src/pkg/syscall/syscall_windows.go @@ -708,6 +708,7 @@ const ( PTRACE_TRACEME = 1 + iota WNOHANG WSTOPPED + WUNTRACED SYS_CLOSE SYS_WRITE SYS_EXIT