1
0
mirror of https://github.com/golang/go synced 2024-11-21 21:34:40 -07:00

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
This commit is contained in:
Yasuhiro Matsumoto 2011-01-18 23:00:19 -08:00 committed by Rob Pike
parent 052ff45690
commit 4a7cdc7944

View File

@ -708,6 +708,7 @@ const (
PTRACE_TRACEME = 1 + iota
WNOHANG
WSTOPPED
WUNTRACED
SYS_CLOSE
SYS_WRITE
SYS_EXIT