File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
src/unix/notbsd/linux/musl/b64 Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 92
92
pub msg_name: * mut :: c_void,
93
93
pub msg_namelen: :: socklen_t,
94
94
pub msg_iov: * mut :: iovec,
95
+ #[ cfg( target_endian = "big" ) ]
96
+ __pad1: :: c_int,
95
97
pub msg_iovlen: :: c_int,
98
+ #[ cfg( target_endian = "little" ) ]
96
99
__pad1: :: c_int,
97
100
pub msg_control: * mut :: c_void,
101
+ #[ cfg( target_endian = "big" ) ]
102
+ __pad2: :: c_int,
98
103
pub msg_controllen: :: socklen_t,
99
- __pad2: :: socklen_t,
104
+ #[ cfg( target_endian = "little" ) ]
105
+ __pad2: :: c_int,
100
106
pub msg_flags: :: c_int,
101
107
}
102
108
103
109
pub struct cmsghdr {
110
+ #[ cfg( target_endian = "big" ) ]
111
+ pub __pad1: :: c_int,
104
112
pub cmsg_len: :: socklen_t,
113
+ #[ cfg( target_endian = "little" ) ]
105
114
pub __pad1: :: c_int,
106
115
pub cmsg_level: :: c_int,
107
116
pub cmsg_type: :: c_int,
You can’t perform that action at this time.
0 commit comments