Add gcc.dg/parloops-exit-first-loop-alt-4.c
[official-gcc.git] / libgo / go / net / cgo_bsd.go
blobce46f2e8c3aec98c0808654c327796c5986ee738
1 // Copyright 2011 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.
5 // +build !netgo
6 // +build darwin dragonfly freebsd solaris
8 package net
11 #include <netdb.h>
14 import "syscall"
16 func cgoAddrInfoFlags() int {
17 return (syscall.AI_CANONNAME | syscall.AI_V4MAPPED | syscall.AI_ALL) & syscall.AI_MASK