Skip to content

Commit 0ea2040

Browse files
committed
Add missing constant MAP_32BIT on x86_64-linux-android and i686-linux-android
1 parent ba8ffc8 commit 0ea2040

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/unix/notbsd/android/b32/x86.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ pub type wchar_t = i32;
44
pub const O_DIRECT: ::c_int = 0x4000;
55
pub const O_DIRECTORY: ::c_int = 0x10000;
66
pub const O_NOFOLLOW: ::c_int = 0x20000;
7+
8+
pub const MAP_32BIT: ::c_int = 0x40;

src/unix/notbsd/android/b64/x86_64.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,5 @@ pub const SYS_gettid: ::c_long = 186;
5151

5252
pub const SIGSTKSZ: ::size_t = 8192;
5353
pub const MINSIGSTKSZ: ::size_t = 2048;
54+
55+
pub const MAP_32BIT: ::c_int = 0x40;

0 commit comments

Comments
 (0)