Skip to content

Commit cf0bd36

Browse files
committed
Update values of some emscripten constants
1 parent fdd6631 commit cf0bd36

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
@@ -604,7 +604,7 @@ cfg_if! {
604604

605605
pub const MADV_SOFT_OFFLINE: ::c_int = 101;
606606
pub const MS_NOUSER: ::c_ulong = 0x80000000;
607-
pub const MS_RMT_MASK: ::c_ulong = 0x800051;
607+
pub const MS_RMT_MASK: ::c_ulong = 0x02800051;
608608

609609
pub const ABDAY_1: ::nl_item = 0x20000;
610610
pub const ABDAY_2: ::nl_item = 0x20001;
@@ -1208,7 +1208,7 @@ pub const POSIX_FADV_NOREUSE: ::c_int = 5;
12081208
pub const POSIX_MADV_DONTNEED: ::c_int = 0;
12091209

12101210
pub const RLIM_INFINITY: ::rlim_t = !0;
1211-
pub const RLIMIT_NLIMITS: ::c_int = 16;
1211+
pub const RLIMIT_NLIMITS: ::c_int = 15;
12121212

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

0 commit comments

Comments
 (0)