Skip to content

Commit

Permalink
Support io::MapFlags::FIXED on FreeBSD and OpenBSD
Browse files Browse the repository at this point in the history
MAP_FIXED is part of POSIX and is supported on both
FreeBSD and OpenBSD.
  • Loading branch information
zen3ger authored and sunfishcode committed May 12, 2022
1 parent bef819a commit 23841ae
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/imp/libc/mm/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ bitflags! {
#[cfg(not(any(
target_os = "android",
target_os = "emscripten",
target_os = "freebsd",
target_os = "fuchsia",
target_os = "openbsd",
target_os = "redox",
)))]
const FIXED = c::MAP_FIXED;
Expand Down

0 comments on commit 23841ae

Please sign in to comment.