Skip to content

Commit 3166091

Browse files
HylianEdward Shin
authored and
Edward Shin
committed
Add RLIM_INFINITY definition for Android
1 parent ff63cb5 commit 3166091

File tree

1 file changed

+2
-0
lines changed
  • src/unix/linux_like/android

1 file changed

+2
-0
lines changed

src/unix/linux_like/android/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,6 +1099,8 @@ pub const RLIMIT_MSGQUEUE: ::c_int = 12;
10991099
pub const RLIMIT_NICE: ::c_int = 13;
11001100
pub const RLIMIT_RTPRIO: ::c_int = 14;
11011101

1102+
pub const RLIM_INFINITY: ::rlim_t = !0;
1103+
11021104
pub const TCGETS: ::c_int = 0x5401;
11031105
pub const TCSETS: ::c_int = 0x5402;
11041106
pub const TCSETSW: ::c_int = 0x5403;

0 commit comments

Comments
 (0)