diff options
Diffstat (limited to 'vendor/github.com/pion/dtls/v2/errors_noerrno.go')
-rw-r--r-- | vendor/github.com/pion/dtls/v2/errors_noerrno.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/github.com/pion/dtls/v2/errors_noerrno.go b/vendor/github.com/pion/dtls/v2/errors_noerrno.go new file mode 100644 index 0000000..fcc37ce --- /dev/null +++ b/vendor/github.com/pion/dtls/v2/errors_noerrno.go @@ -0,0 +1,14 @@ +// +build !aix,!darwin,!dragonfly,!freebsd,!linux,!nacl,!nacljs,!netbsd,!openbsd,!solaris,!windows + +// For systems without syscall.Errno. +// Build targets must be inverse of errors_errno.go + +package dtls + +import ( + "os" +) + +func isOpErrorTemporary(err *os.SyscallError) bool { + return false +} |