Skip to content

Commit 09d9209

Browse files
committed
Auto merge of #725 - Susurrus:mman_constants, r=alexcrichton
Add MAP_ANONYMOUS to DragonFlyBSD and FreeBSD
2 parents 56700d5 + e1d88cb commit 09d9209

File tree

1 file changed

+1
-0
lines changed
  • src/unix/bsd/freebsdlike

1 file changed

+1
-0
lines changed

src/unix/bsd/freebsdlike/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ pub const MAP_SHARED: ::c_int = 0x0001;
336336
pub const MAP_PRIVATE: ::c_int = 0x0002;
337337
pub const MAP_FIXED: ::c_int = 0x0010;
338338
pub const MAP_ANON: ::c_int = 0x1000;
339+
pub const MAP_ANONYMOUS: ::c_int = MAP_ANON;
339340

340341
pub const MAP_FAILED: *mut ::c_void = !0 as *mut ::c_void;
341342

0 commit comments

Comments
 (0)