File tree Expand file tree Collapse file tree 2 files changed +5
-15
lines changed
src/unix/linux_like/linux/gnu/b32 Expand file tree Collapse file tree 2 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,11 @@ cfg_if! {
45
45
pub type stat64 = stat;
46
46
}
47
47
}
48
+ cfg_if ! {
49
+ if #[ cfg( target_arch = "riscv32" ) ] {
50
+ pub type statvfs64 = statvfs;
51
+ }
52
+ }
48
53
49
54
s ! {
50
55
pub struct stat {
Original file line number Diff line number Diff line change @@ -111,21 +111,6 @@ s! {
111
111
pub __f_spare: [ :: c_int; 6 ] ,
112
112
}
113
113
114
- pub struct statvfs64 {
115
- pub f_bsize: :: c_ulong,
116
- pub f_frsize: :: c_ulong,
117
- pub f_blocks: :: fsblkcnt64_t,
118
- pub f_bfree: :: fsblkcnt64_t,
119
- pub f_bavail: :: fsblkcnt64_t,
120
- pub f_files: :: fsfilcnt64_t,
121
- pub f_ffree: :: fsfilcnt64_t,
122
- pub f_favail: :: fsfilcnt64_t,
123
- pub f_fsid: :: c_ulong,
124
- pub f_flag: :: c_ulong,
125
- pub f_namemax: :: c_ulong,
126
- pub __f_spare: [ :: c_int; 6 ] ,
127
- }
128
-
129
114
pub struct siginfo_t {
130
115
pub si_signo: :: c_int,
131
116
pub si_errno: :: c_int,
You can’t perform that action at this time.
0 commit comments