Skip to content

Commit

Permalink
Auto merge of #3286 - devnexen:stat_android_fix, r=JohnTitor
Browse files Browse the repository at this point in the history
android 32 bits fix stat struct proposal.

close #3285
  • Loading branch information
bors committed Jan 8, 2024
2 parents 28ef7fe + 57bfcd8 commit 3fac855
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions src/unix/linux_like/android/b32/mod.rs
Expand Up @@ -24,25 +24,24 @@ s! {
}

pub struct stat {
pub st_dev: ::c_ulonglong,
__pad0: [::c_uchar; 4],
__st_ino: ::ino_t,
pub st_mode: ::c_uint,
pub st_dev: ::c_ulong,
pub st_ino: ::ino_t,
pub st_mode: ::c_ushort,
pub st_nlink: ::nlink_t,
pub st_uid: ::uid_t,
pub st_gid: ::gid_t,
pub st_rdev: ::c_ulonglong,
__pad3: [::c_uchar; 4],
pub st_size: ::c_longlong,
pub st_rdev: ::c_ulong,
pub st_size: ::c_ulong,
pub st_blksize: ::blksize_t,
pub st_blocks: ::c_ulonglong,
pub st_atime: ::c_long,
pub st_atime_nsec: ::c_long,
pub st_mtime: ::c_long,
pub st_mtime_nsec: ::c_long,
pub st_ctime: ::c_long,
pub st_ctime_nsec: ::c_long,
pub st_ino: ::c_ulonglong,
pub st_blocks: ::c_ulong,
pub st_atime: ::c_ulong,
pub st_atime_nsec: ::c_ulong,
pub st_mtime: ::c_ulong,
pub st_mtime_nsec: ::c_ulong,
pub st_ctime: ::c_ulong,
pub st_ctime_nsec: ::c_ulong,
__unused4: c_ulong,
__unused5: c_ulong,
}

pub struct stat64 {
Expand Down

0 comments on commit 3fac855

Please sign in to comment.