Auto merge of #1541 - Hylian:android-rlim-infinity, r=gnzlbg

Add `RLIM_INFINITY` definition for Android

This adds the definition for `RLIM_INFINITY` to Android, mirroring the Linux definition. Ran into this while trying to build `sccache` natively in Termux on Android, and is the only thing preventing `sccache` from building on libc master.
This commit is contained in:
bors 2019-10-16 06:00:30 +00:00
commit e857f95106
1 changed files with 2 additions and 0 deletions

View File

@ -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;