Skip to content

Commit 4b80850

Browse files
committed
Auto merge of #2392 - devnexen:haiku_rlim_inf, r=JohnTitor
haiku finall have RLIMIT_INFINITY
2 parents a1e1a90 + 03f2986 commit 4b80850

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/haiku/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,7 @@ pub const RLIMIT_FSIZE: ::c_int = 3;
549549
pub const RLIMIT_NOFILE: ::c_int = 4;
550550
pub const RLIMIT_STACK: ::c_int = 5;
551551
pub const RLIMIT_AS: ::c_int = 6;
552+
pub const RLIM_INFINITY: ::c_ulong = 0xffffffff;
552553
// Haiku specific
553554
pub const RLIMIT_NOVMON: ::c_int = 7;
554555
pub const RLIM_NLIMITS: ::c_int = 8;

0 commit comments

Comments
 (0)