File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 220220 pub struct shmid_ds {
221221 pub shm_perm: ipc_perm,
222222 pub shm_segsz: :: size_t,
223+ #[ cfg( target_os = "illumos" ) ]
224+ pub shm_amp: * mut :: c_void,
225+ #[ cfg( target_os = "solaris" ) ]
223226 pub shm_flags: :: uintptr_t,
224227 pub shm_lkcnt: :: c_ushort,
225228 pub shm_lpid: :: pid_t,
@@ -229,9 +232,15 @@ s! {
229232 pub shm_atime: :: time_t,
230233 pub shm_dtime: :: time_t,
231234 pub shm_ctime: :: time_t,
235+ #[ cfg( target_os = "illumos" ) ]
236+ pub shm_pad4: [ i64 ; 4 ] ,
237+ #[ cfg( target_os = "solaris" ) ]
232238 pub shm_amp: * mut :: c_void,
239+ #[ cfg( target_os = "solaris" ) ]
233240 pub shm_gransize: u64 ,
241+ #[ cfg( target_os = "solaris" ) ]
234242 pub shm_allocated: u64 ,
243+ #[ cfg( target_os = "solaris" ) ]
235244 pub shm_pad4: [ i64 ; 1 ] ,
236245 }
237246
You can’t perform that action at this time.
0 commit comments