Skip to content

Commit e1d88cb

Browse files
committed
Add MAP_ANONYMOUS to DragonFlyBSD and FreeBSD
1 parent 6846305 commit e1d88cb

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)