]> Cypherpunks repositories - gostls13.git/commit
net: move cgo address info flags to per-platform files
authorJoel Sing <jsing@google.com>
Sun, 3 Jun 2012 13:54:14 +0000 (23:54 +1000)
committerJoel Sing <jsing@google.com>
Sun, 3 Jun 2012 13:54:14 +0000 (23:54 +1000)
commiteb4138f48114de303d8844f4fa2ff872e2a7a678
tree6cea1b03dec7e9cf20baf7c4929f6c7271e63a24
parent8801402940aa983a318ba680b7b65b5070dd35ca
net: move cgo address info flags to per-platform files

Move address info flags to per-platform files. This is needed to
enable cgo on NetBSD (and later OpenBSD), as some of the currently
used AI_* defines do not exist on these platforms.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6250075
src/pkg/net/cgo_bsd.go
src/pkg/net/cgo_linux.go
src/pkg/net/cgo_unix.go