only use syscalls on platforms that we're actually testing

This commit is contained in:
Marten Seemann
2020-11-18 19:00:07 +07:00
parent 287a324acf
commit 631e37cc70
4 changed files with 26 additions and 34 deletions

View File

@@ -1,13 +0,0 @@
// +build windows
package quic
import "net"
func newConn(c net.PacketConn) (connection, error) {
return &basicConn{PacketConn: c}, nil
}
func inspectReadBuffer(net.PacketConn) (int, error) {
return 0, nil
}