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! {
4545 pub type stat64 = stat;
4646 }
4747}
48+ cfg_if ! {
49+ if #[ cfg( target_arch = "riscv32" ) ] {
50+ pub type statvfs64 = statvfs;
51+ }
52+ }
4853
4954s ! {
5055 pub struct stat {
Original file line number Diff line number Diff line change @@ -111,21 +111,6 @@ s! {
111111 pub __f_spare: [ :: c_int; 6 ] ,
112112 }
113113
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-
129114 pub struct siginfo_t {
130115 pub si_signo: :: c_int,
131116 pub si_errno: :: c_int,
You can’t perform that action at this time.
0 commit comments