mirror of
https://github.com/golang/go
synced 2024-11-24 15:10:02 -07:00
net: fix Windows build
R=rsc CC=golang-dev https://golang.org/cl/4314042
This commit is contained in:
parent
e83d69647f
commit
91bcdb620b
@ -4,14 +4,22 @@
|
||||
|
||||
package net
|
||||
|
||||
import (
|
||||
"os"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
func FileConn(f *os.File) (c Conn, err os.Error) {
|
||||
return nil, os.EWINDOWS
|
||||
// TODO: Implement this
|
||||
return nil, os.NewSyscallError("FileConn", syscall.EWINDOWS)
|
||||
}
|
||||
|
||||
func FileListener(f *os.File) (l Listener, err os.Error) {
|
||||
return nil, os.EWINDOWS
|
||||
// TODO: Implement this
|
||||
return nil, os.NewSyscallError("FileListener", syscall.EWINDOWS)
|
||||
}
|
||||
|
||||
func FilePacketConn(f *os.File) (c PacketConn, err os.Error) {
|
||||
return nil, os.EWINDOWS
|
||||
// TODO: Implement this
|
||||
return nil, os.NewSyscallError("FilePacketConn", syscall.EWINDOWS)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user