diff options
author | bors <bors@rust-lang.org> | 2021-09-11 15:24:36 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2021-09-11 15:24:36 +0000 |
commit | 4b80850a5e3838ec47e57ff3a40e81d266e0fafd (patch) | |
tree | c7224bd6c1e32b85b42d8b1d2195be2004f115cb | |
parent | a1e1a90777ba1cfc990fb2685b7be3f26990a1c8 (diff) | |
parent | 03f29865a2aaec1c0d4909412e38201362d94d39 (diff) | |
download | rust-libc-4b80850a5e3838ec47e57ff3a40e81d266e0fafd.tar.gz |
Auto merge of #2392 - devnexen:haiku_rlim_inf, r=JohnTitor
haiku finall have RLIMIT_INFINITY
-rw-r--r-- | src/unix/haiku/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/haiku/mod.rs b/src/unix/haiku/mod.rs index 403aabcd87..5515340c35 100644 --- a/src/unix/haiku/mod.rs +++ b/src/unix/haiku/mod.rs @@ -549,6 +549,7 @@ pub const RLIMIT_FSIZE: ::c_int = 3; pub const RLIMIT_NOFILE: ::c_int = 4; pub const RLIMIT_STACK: ::c_int = 5; pub const RLIMIT_AS: ::c_int = 6; +pub const RLIM_INFINITY: ::c_ulong = 0xffffffff; // Haiku specific pub const RLIMIT_NOVMON: ::c_int = 7; pub const RLIM_NLIMITS: ::c_int = 8; |