summaryrefslogtreecommitdiff
path: root/src/syscall/types_windows_arm.go
diff options
context:
space:
mode:
authorJordan Rhee <jordanrh@microsoft.com>2018-08-08 15:00:56 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2018-08-22 17:16:18 +0000
commit43704759b4a26c4090212e2d63d23579497d5e50 (patch)
tree739a2ae96e0f15374d3e0bc4bcf0f116db9d8953 /src/syscall/types_windows_arm.go
parent3396034155f517a7688f730f5cc9b2d4427093d4 (diff)
downloadgo-git-43704759b4a26c4090212e2d63d23579497d5e50.tar.gz
syscall: support windows/arm
Updates #26148 Change-Id: I008502232642237270b7c8a2efb4a378345d06fd Reviewed-on: https://go-review.googlesource.com/128716 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/syscall/types_windows_arm.go')
-rw-r--r--src/syscall/types_windows_arm.go22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/syscall/types_windows_arm.go b/src/syscall/types_windows_arm.go
new file mode 100644
index 0000000000..e72e9f5ced
--- /dev/null
+++ b/src/syscall/types_windows_arm.go
@@ -0,0 +1,22 @@
+// Copyright 2018 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.
+
+package syscall
+
+type WSAData struct {
+ Version uint16
+ HighVersion uint16
+ Description [WSADESCRIPTION_LEN + 1]byte
+ SystemStatus [WSASYS_STATUS_LEN + 1]byte
+ MaxSockets uint16
+ MaxUdpDg uint16
+ VendorInfo *byte
+}
+
+type Servent struct {
+ Name *byte
+ Aliases **byte
+ Port uint16
+ Proto *byte
+}