cgo_hurd.go 379 B

1234567891011121314151617
  1. // Copyright 2019 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // This file is derived from cgo_bsd.go
  5. // +build cgo,!netgo
  6. // +build hurd
  7. package net
  8. /*
  9. #include <netdb.h>
  10. */
  11. import "syscall"
  12. const cgoAddrInfoFlags = syscall.AI_CANONNAME | syscall.AI_V4MAPPED | syscall.AI_ALL