Skip to content
Snippets Groups Projects
Commit 2278a549 authored by Alex Crichton's avatar Alex Crichton
Browse files

Merge pull request #217 from gabrielesvelto/master

Add MAP_STACK and MAP_HUGETLB entries to MIPS so that the nix crate can be built
parents 08f816f7 30dfc4b7
No related branches found
No related tags found
No related merge requests found
......@@ -303,6 +303,7 @@ pub const MAP_EXECUTABLE: ::c_int = 0x4000;
pub const MAP_LOCKED: ::c_int = 0x8000;
pub const MAP_POPULATE: ::c_int = 0x10000;
pub const MAP_NONBLOCK: ::c_int = 0x20000;
pub const MAP_STACK: ::c_int = 0x40000;
pub const SOCK_STREAM: ::c_int = 2;
pub const SOCK_DGRAM: ::c_int = 1;
......@@ -426,6 +427,8 @@ pub const PTRACE_SETFPXREGS: ::c_uint = 19;
pub const PTRACE_GETREGS: ::c_uint = 12;
pub const PTRACE_SETREGS: ::c_uint = 13;
pub const MAP_HUGETLB: ::c_int = 0x080000;
pub const EFD_NONBLOCK: ::c_int = 0x80;
pub const F_GETLK: ::c_int = 14;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment