@@ -43,51 +43,34 @@ cfg_if! {
4343
4444s ! {
4545 pub struct stat {
46- #[ cfg( not( target_arch = "mips" ) ) ]
4746 pub st_dev: :: dev_t,
48- #[ cfg( target_arch = "mips" ) ]
49- pub st_dev: :: c_ulong,
50-
51- #[ cfg( not( target_arch = "mips" ) ) ]
52- __pad1: :: c_short,
53- #[ cfg( target_arch = "mips" ) ]
54- st_pad1: [ :: c_long; 3 ] ,
5547 pub st_ino: :: ino_t,
5648 pub st_mode: :: mode_t,
5749 pub st_nlink: :: nlink_t,
5850 pub st_uid: :: uid_t,
5951 pub st_gid: :: gid_t,
60- #[ cfg( not( target_arch = "mips" ) ) ]
6152 pub st_rdev: :: dev_t,
62- #[ cfg( target_arch = "mips" ) ]
63- pub st_rdev: :: c_ulong,
64- #[ cfg( not( target_arch = "mips" ) ) ]
65- __pad2: :: c_short,
66- #[ cfg( target_arch = "mips" ) ]
67- st_pad2: [ :: c_long; 2 ] ,
6853 pub st_size: :: off_t,
69- #[ cfg( target_arch = "mips" ) ]
70- st_pad3: :: c_long,
71- #[ cfg( not( target_arch = "mips" ) ) ]
7254 pub st_blksize: :: blksize_t,
73- #[ cfg( not( target_arch = "mips" ) ) ]
7455 pub st_blocks: :: blkcnt_t,
7556 pub st_atime: :: time_t,
57+ #[ cfg( all( any( target_arch = "mips" , target_arch = "powerpc" ) , target_pointer_width = "32" ) ) ]
58+ __pad1: i32 ,
7659 pub st_atime_nsec: :: c_long,
60+ #[ cfg( not( all( any( target_arch = "mips" , target_arch = "powerpc" ) , target_pointer_width = "32" ) ) ) ]
61+ __pad1: i32 ,
7762 pub st_mtime: :: time_t,
63+ #[ cfg( all( any( target_arch = "mips" , target_arch = "powerpc" ) , target_pointer_width = "32" ) ) ]
64+ __pad2: i32 ,
7865 pub st_mtime_nsec: :: c_long,
66+ #[ cfg( not( all( any( target_arch = "mips" , target_arch = "powerpc" ) , target_pointer_width = "32" ) ) ) ]
67+ __pad2: i32 ,
7968 pub st_ctime: :: time_t,
69+ #[ cfg( all( any( target_arch = "mips" , target_arch = "powerpc" ) , target_pointer_width = "32" ) ) ]
70+ __pad3: i32 ,
8071 pub st_ctime_nsec: :: c_long,
81- #[ cfg( not( target_arch = "mips" ) ) ]
82- __unused4: :: c_long,
83- #[ cfg( not( target_arch = "mips" ) ) ]
84- __unused5: :: c_long,
85- #[ cfg( target_arch = "mips" ) ]
86- pub st_blksize: :: blksize_t,
87- #[ cfg( target_arch = "mips" ) ]
88- pub st_blocks: :: blkcnt_t,
89- #[ cfg( target_arch = "mips" ) ]
90- st_pad5: [ :: c_long; 14 ] ,
72+ #[ cfg( not( all( any( target_arch = "mips" , target_arch = "powerpc" ) , target_pointer_width = "32" ) ) ) ]
73+ __pad3: i32 ,
9174 }
9275
9376 pub struct statvfs {
0 commit comments