diff options
author | Edward Shin <contact@edwardsh.in> | 2019-10-06 18:30:22 -0400 |
---|---|---|
committer | Edward Shin <eshin@fitbit.com> | 2019-10-06 18:32:17 -0400 |
commit | 3166091b00204c773e7c515c2cdfe0f0172e559d (patch) | |
tree | 2358bf42ac513d680c6933b96e6cad8d82bd2078 | |
parent | ff63cb517872d95bdba9960d4d200d024c1805a0 (diff) | |
download | rust-libc-3166091b00204c773e7c515c2cdfe0f0172e559d.tar.gz |
Add `RLIM_INFINITY` definition for Android
-rw-r--r-- | src/unix/linux_like/android/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/linux_like/android/mod.rs b/src/unix/linux_like/android/mod.rs index 74c64e5ec7..4c4a29669b 100644 --- a/src/unix/linux_like/android/mod.rs +++ b/src/unix/linux_like/android/mod.rs @@ -1099,6 +1099,8 @@ pub const RLIMIT_MSGQUEUE: ::c_int = 12; pub const RLIMIT_NICE: ::c_int = 13; pub const RLIMIT_RTPRIO: ::c_int = 14; +pub const RLIM_INFINITY: ::rlim_t = !0; + pub const TCGETS: ::c_int = 0x5401; pub const TCSETS: ::c_int = 0x5402; pub const TCSETSW: ::c_int = 0x5403; |