Skip to content

Commit 70975a2

Browse files
committed
Add MAP_32BIT to 64-bit FreeBSD platforms
1 parent 558c288 commit 70975a2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: src/unix/bsd/freebsdlike/freebsd/aarch64.rs

+2
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ s! {
2828
pub st_birthtime_nsec: ::c_long,
2929
}
3030
}
31+
32+
pub const MAP_32BIT: ::c_int = 0x00080000;

Diff for: src/unix/bsd/freebsdlike/freebsd/x86_64.rs

+2
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ s! {
2828
pub st_birthtime_nsec: ::c_long,
2929
}
3030
}
31+
32+
pub const MAP_32BIT: ::c_int = 0x00080000;

0 commit comments

Comments
 (0)