Skip to content

Commit 90546fa

Browse files
committed
Update values of some emscripten constants
1 parent fc94bc8 commit 90546fa

File tree

1 file changed

+2
-2
lines changed
  • src/unix/notbsd/emscripten

1 file changed

+2
-2
lines changed

src/unix/notbsd/emscripten/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ cfg_if! {
603603
}
604604

605605
pub const MS_NOUSER: ::c_ulong = 0x80000000;
606-
pub const MS_RMT_MASK: ::c_ulong = 0x800051;
606+
pub const MS_RMT_MASK: ::c_ulong = 0x02800051;
607607

608608
pub const ABDAY_1: ::nl_item = 0x20000;
609609
pub const ABDAY_2: ::nl_item = 0x20001;
@@ -1207,7 +1207,7 @@ pub const POSIX_FADV_NOREUSE: ::c_int = 5;
12071207
pub const POSIX_MADV_DONTNEED: ::c_int = 0;
12081208

12091209
pub const RLIM_INFINITY: ::rlim_t = !0;
1210-
pub const RLIMIT_NLIMITS: ::c_int = 16;
1210+
pub const RLIMIT_NLIMITS: ::c_int = 15;
12111211

12121212
pub const MAP_ANONYMOUS: ::c_int = MAP_ANON;
12131213

0 commit comments

Comments
 (0)