File tree Expand file tree Collapse file tree 3 files changed +7
-21
lines changed
src/unix/linux_like/linux/gnu/b32 Expand file tree Collapse file tree 3 files changed +7
-21
lines changed Original file line number Diff line number Diff line change @@ -3339,8 +3339,8 @@ fn test_linux(target: &str) {
33393339
33403340 // In MUSL `flock64` is a typedef to `flock`.
33413341 "flock64" if musl => format ! ( "struct {}" , ty) ,
3342- // In some gnu targets `stat64` is a typedef to `stat`
3343- "statfs64" if gnu => format ! ( "struct {}" , ty) ,
3342+ // In some gnu targets `stat64` is a typedef to `stat`
3343+ "stat64" | "statfs64" if gnu => format ! ( "struct {}" , ty) ,
33443344
33453345 // put `struct` in front of all structs:.
33463346 t if is_struct => format ! ( "struct {}" , t) ,
Original file line number Diff line number Diff line change 5757 __unused2: :: c_ulong
5858 }
5959
60- pub struct stat64 {
61- pub st_dev: :: dev_t,
62- pub st_ino: :: ino_t,
63- pub st_mode: :: mode_t,
64- pub st_nlink: :: nlink_t,
65- pub st_uid: :: uid_t,
66- pub st_gid: :: gid_t,
67- pub st_rdev: :: dev_t,
68- pub st_size: :: off64_t,
69- pub st_blksize: :: blksize_t,
70- pub st_blocks: :: blkcnt64_t,
71- pub st_atime: :: time_t,
72- pub st_atime_nsec: :: c_long,
73- pub st_mtime: :: time_t,
74- pub st_mtime_nsec: :: c_long,
75- pub st_ctime: :: time_t,
76- pub st_ctime_nsec: :: c_long,
77- }
78-
7960 pub struct statvfs64 {
8061 pub f_bsize: :: c_ulong,
8162 pub f_frsize: :: c_ulong,
Original file line number Diff line number Diff line change @@ -40,6 +40,11 @@ cfg_if! {
4040 pub type blksize_t = i32 ;
4141 }
4242}
43+ cfg_if ! {
44+ if #[ cfg( target_arch = "arm" ) ] {
45+ pub type stat64 = stat;
46+ }
47+ }
4348
4449s ! {
4550 pub struct stat {
You can’t perform that action at this time.
0 commit comments