aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/net/cgo_aix.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/net/cgo_aix.go')
-rw-r--r--libgo/go/net/cgo_aix.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/libgo/go/net/cgo_aix.go b/libgo/go/net/cgo_aix.go
new file mode 100644
index 0000000..4f23d9b
--- /dev/null
+++ b/libgo/go/net/cgo_aix.go
@@ -0,0 +1,13 @@
+// Copyright 2011 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build cgo,!netgo
+
+package net
+
+import (
+ "syscall"
+)
+
+const cgoAddrInfoFlags = syscall.AI_CANONNAME