Skip to content

Commit b83e316

Browse files
committed
uclibc/mips: add missing MAP_HUGETLB constant
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
1 parent 8edb82d commit b83e316

File tree

1 file changed

+2
-0
lines changed
  • src/unix/linux_like/linux/uclibc/mips

1 file changed

+2
-0
lines changed

src/unix/linux_like/linux/uclibc/mips/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ pub const ICANON: ::tcflag_t = 0x00000002;
263263
pub const PENDIN: ::tcflag_t = 0x00004000;
264264
pub const NOFLSH: ::tcflag_t = 0x00000080;
265265

266+
pub const MAP_HUGETLB: ::c_int = 0x80000;
267+
266268
pub const B0: ::speed_t = 0o000000;
267269
pub const B50: ::speed_t = 0o000001;
268270
pub const B75: ::speed_t = 0o000002;

0 commit comments

Comments
 (0)