Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use 32-bit mode_t on 64-bit Android devices #192

Merged
merged 1 commit into from
Feb 19, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/unix/notbsd/android/b32.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
pub type mode_t = u16;

s! {
pub struct sigaction {
pub sa_sigaction: ::sighandler_t,
Expand Down
2 changes: 2 additions & 0 deletions src/unix/notbsd/android/b64.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
pub type mode_t = u32;

s! {
pub struct sigaction {
pub sa_flags: ::c_uint,
Expand Down
1 change: 0 additions & 1 deletion src/unix/notbsd/android/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ pub type ino_t = u32;
pub type blkcnt_t = u32;
pub type blksize_t = u32;
pub type dev_t = u32;
pub type mode_t = u16;
pub type nlink_t = u32;
pub type useconds_t = u32;
pub type socklen_t = i32;
Expand Down