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

Added mingw specific build stubs.

R=rsc
CC=golang-dev
https://golang.org/cl/198071
This commit is contained in:
Joe Poirier 2010-02-04 13:09:09 -08:00 committed by Russ Cox
parent 1e66428d59
commit 987e1198db
3 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,17 @@
// 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 proc
import "os"
// Process tracing is not supported on MinGW yet.
func Attach(pid int) (Process, os.Error) {
return nil, os.NewError("debug/proc not implemented on MinGW")
}
func ForkExec(argv0 string, argv []string, envv []string, dir string, fd []*os.File) (Process, os.Error) {
return Attach(0)
}

View File

@ -0,0 +1,5 @@
// 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 proc

View File

@ -0,0 +1,5 @@
// 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 proc