Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
b06514bb
Commit
b06514bb
authored
Jan 10, 2012
by
Mikio Hara
Committed by
Russ Cox
Jan 10, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syscall: fix windows build
R=golang-dev, rsc CC=golang-dev
https://golang.org/cl/5533063
parent
415f15b6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
24 deletions
+16
-24
src/pkg/syscall/syscall_windows.go
src/pkg/syscall/syscall_windows.go
+0
-16
src/pkg/syscall/ztypes_windows.go
src/pkg/syscall/ztypes_windows.go
+16
-8
No files found.
src/pkg/syscall/syscall_windows.go
View file @
b06514bb
...
@@ -640,22 +640,6 @@ type Linger struct {
...
@@ -640,22 +640,6 @@ type Linger struct {
Linger
int32
Linger
int32
}
}
const
(
IP_TOS
=
0x3
IP_TTL
=
0x4
IP_ADD_MEMBERSHIP
=
0xc
IP_DROP_MEMBERSHIP
=
0xd
)
const
(
IPV6_UNICAST_HOPS
=
0x4
IPV6_MULTICAST_IF
=
0x9
IPV6_MULTICAST_HOPS
=
0xa
IPV6_MULTICAST_LOOP
=
0xb
IPV6_JOIN_GROUP
=
0xc
IPV6_LEAVE_GROUP
=
0xd
)
type
IPMreq
struct
{
type
IPMreq
struct
{
Multiaddr
[
4
]
byte
/* in_addr */
Multiaddr
[
4
]
byte
/* in_addr */
Interface
[
4
]
byte
/* in_addr */
Interface
[
4
]
byte
/* in_addr */
...
...
src/pkg/syscall/ztypes_windows.go
View file @
b06514bb
...
@@ -374,6 +374,7 @@ const (
...
@@ -374,6 +374,7 @@ const (
SOCK_SEQPACKET
=
5
SOCK_SEQPACKET
=
5
IPPROTO_IP
=
0
IPPROTO_IP
=
0
IPPROTO_IPV6
=
0x29
IPPROTO_TCP
=
6
IPPROTO_TCP
=
6
IPPROTO_UDP
=
17
IPPROTO_UDP
=
17
...
@@ -387,8 +388,18 @@ const (
...
@@ -387,8 +388,18 @@ const (
SO_SNDBUF
=
0x1001
SO_SNDBUF
=
0x1001
SO_UPDATE_ACCEPT_CONTEXT
=
0x700b
SO_UPDATE_ACCEPT_CONTEXT
=
0x700b
IPPROTO_IPV6
=
0x29
IP_TOS
=
0x3
IP_TTL
=
0x4
IP_ADD_MEMBERSHIP
=
0xc
IP_DROP_MEMBERSHIP
=
0xd
IPV6_V6ONLY
=
0x1b
IPV6_V6ONLY
=
0x1b
IPV6_UNICAST_HOPS
=
0x4
IPV6_MULTICAST_IF
=
0x9
IPV6_MULTICAST_HOPS
=
0xa
IPV6_MULTICAST_LOOP
=
0xb
IPV6_JOIN_GROUP
=
0xc
IPV6_LEAVE_GROUP
=
0xd
SOMAXCONN
=
0x7fffffff
SOMAXCONN
=
0x7fffffff
...
@@ -400,9 +411,6 @@ const (
...
@@ -400,9 +411,6 @@ const (
WSADESCRIPTION_LEN
=
256
WSADESCRIPTION_LEN
=
256
WSASYS_STATUS_LEN
=
128
WSASYS_STATUS_LEN
=
128
IPV6_JOIN_GROUP
=
12
IPV6_LEAVE_GROUP
=
13
)
)
type
WSABuf
struct
{
type
WSABuf
struct
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment