File tree Expand file tree Collapse file tree 4 files changed +19
-0
lines changed
src/unix/linux_like/linux/gnu/b32 Expand file tree Collapse file tree 4 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -115,10 +115,13 @@ s! {
115115 pub shm_perm: crate :: ipc_perm,
116116 pub shm_segsz: size_t,
117117 pub shm_atime: crate :: time_t,
118+ #[ cfg( not( gnu_time_bits64) ) ]
118119 __unused1: c_ulong,
119120 pub shm_dtime: crate :: time_t,
121+ #[ cfg( not( gnu_time_bits64) ) ]
120122 __unused2: c_ulong,
121123 pub shm_ctime: crate :: time_t,
124+ #[ cfg( not( gnu_time_bits64) ) ]
122125 __unused3: c_ulong,
123126 pub shm_cpid: crate :: pid_t,
124127 pub shm_lpid: crate :: pid_t,
Original file line number Diff line number Diff line change @@ -136,13 +136,20 @@ s! {
136136
137137 pub struct shmid_ds {
138138 pub shm_perm: crate :: ipc_perm,
139+ #[ cfg( gnu_time_bits64) ]
140+ pub shm_segsz: size_t,
141+ #[ cfg( not( gnu_time_bits64) ) ]
139142 __glibc_reserved1: c_uint,
140143 pub shm_atime: crate :: time_t,
144+ #[ cfg( not( gnu_time_bits64) ) ]
141145 __glibc_reserved2: c_uint,
142146 pub shm_dtime: crate :: time_t,
147+ #[ cfg( not( gnu_time_bits64) ) ]
143148 __glibc_reserved3: c_uint,
144149 pub shm_ctime: crate :: time_t,
150+ #[ cfg( not( gnu_time_bits64) ) ]
145151 __glibc_reserved4: c_uint,
152+ #[ cfg( not( gnu_time_bits64) ) ]
146153 pub shm_segsz: size_t,
147154 pub shm_cpid: crate :: pid_t,
148155 pub shm_lpid: crate :: pid_t,
Original file line number Diff line number Diff line change @@ -154,12 +154,18 @@ s! {
154154
155155 pub struct shmid_ds {
156156 pub shm_perm: crate :: ipc_perm,
157+ #[ cfg( gnu_time_bits64) ]
158+ pub shm_segsz: size_t,
159+ #[ cfg( not( gnu_time_bits64) ) ]
157160 __pad1: c_uint,
158161 pub shm_atime: crate :: time_t,
162+ #[ cfg( not( gnu_time_bits64) ) ]
159163 __pad2: c_uint,
160164 pub shm_dtime: crate :: time_t,
165+ #[ cfg( not( gnu_time_bits64) ) ]
161166 __pad3: c_uint,
162167 pub shm_ctime: crate :: time_t,
168+ #[ cfg( not( gnu_time_bits64) ) ]
163169 pub shm_segsz: size_t,
164170 pub shm_cpid: crate :: pid_t,
165171 pub shm_lpid: crate :: pid_t,
Original file line number Diff line number Diff line change @@ -189,10 +189,13 @@ s! {
189189 pub shm_perm: crate :: ipc_perm,
190190 pub shm_segsz: size_t,
191191 pub shm_atime: crate :: time_t,
192+ #[ cfg( not( gnu_time_bits64) ) ]
192193 __unused1: c_ulong,
193194 pub shm_dtime: crate :: time_t,
195+ #[ cfg( not( gnu_time_bits64) ) ]
194196 __unused2: c_ulong,
195197 pub shm_ctime: crate :: time_t,
198+ #[ cfg( not( gnu_time_bits64) ) ]
196199 __unused3: c_ulong,
197200 pub shm_cpid: crate :: pid_t,
198201 pub shm_lpid: crate :: pid_t,
You can’t perform that action at this time.
0 commit comments