Skip to content

File tree

1 file changed

+15
-2
lines changed
  • src/unix/linux_like/linux/gnu/b32

1 file changed

+15
-2
lines changed

src/unix/linux_like/linux/gnu/b32/mod.rs

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,25 +166,38 @@ s! {
166166

167167
pub struct semid_ds {
168168
pub sem_perm: ipc_perm,
169-
#[cfg(target_arch = "powerpc")]
169+
#[cfg(all(not(gnu_time_bits64), target_arch = "powerpc"))]
170170
__reserved: crate::__syscall_ulong_t,
171171
pub sem_otime: crate::time_t,
172172
#[cfg(not(any(
173+
gnu_time_bits64,
173174
target_arch = "mips",
174175
target_arch = "mips32r6",
175176
target_arch = "powerpc"
176177
)))]
177178
__reserved: crate::__syscall_ulong_t,
178-
#[cfg(target_arch = "powerpc")]
179+
#[cfg(all(not(gnu_time_bits64), target_arch = "powerpc"))]
179180
__reserved2: crate::__syscall_ulong_t,
180181
pub sem_ctime: crate::time_t,
181182
#[cfg(not(any(
183+
gnu_time_bits64,
182184
target_arch = "mips",
183185
target_arch = "mips32r6",
184186
target_arch = "powerpc"
185187
)))]
186188
__reserved2: crate::__syscall_ulong_t,
187189
pub sem_nsems: crate::__syscall_ulong_t,
190+
#[cfg(all(
191+
gnu_time_bits64,
192+
not(any(
193+
target_arch = "mips",
194+
target_arch = "mips32r6",
195+
target_arch = "powerpc",
196+
target_arch = "arm",
197+
target_arch = "x86"
198+
))
199+
))]
200+
__reserved2: crate::__syscall_ulong_t,
188201
__glibc_reserved3: crate::__syscall_ulong_t,
189202
__glibc_reserved4: crate::__syscall_ulong_t,
190203
}

0 commit comments

Comments
 (0)