errors_noerrno.go 524 B

123456789101112131415161718
  1. // SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
  2. // SPDX-License-Identifier: MIT
  3. //go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !nacl && !nacljs && !netbsd && !openbsd && !solaris && !windows
  4. // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!nacl,!nacljs,!netbsd,!openbsd,!solaris,!windows
  5. // For systems without syscall.Errno.
  6. // Build targets must be inverse of errors_errno.go
  7. package dtls
  8. import (
  9. "os"
  10. )
  11. func isOpErrorTemporary(err *os.SyscallError) bool {
  12. return false
  13. }