Skip to content

Commit c1ba92f

Browse files
committed
mman mod adding MAP_ALIGNED_SUPER flag for freebsd.
1 parent bf4f273 commit c1ba92f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sys/mman.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ libc_bitflags!{
136136
MAP_NOCACHE;
137137
#[cfg(any(target_os = "ios", target_os = "macos"))]
138138
MAP_JIT;
139+
#[cfg(target_os = "freesd")]
140+
MAP_ALIGNED_SUPER;
139141
}
140142
}
141143

0 commit comments

Comments
 (0)