From 23841ae92b5d1ef772bb9a91dff067f67e5ec070 Mon Sep 17 00:00:00 2001 From: Roland Kovacs Date: Thu, 12 May 2022 18:09:06 +0200 Subject: [PATCH] Support io::MapFlags::FIXED on FreeBSD and OpenBSD MAP_FIXED is part of POSIX and is supported on both FreeBSD and OpenBSD. --- src/imp/libc/mm/types.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/imp/libc/mm/types.rs b/src/imp/libc/mm/types.rs index 0c44f6e54..419d65ec4 100644 --- a/src/imp/libc/mm/types.rs +++ b/src/imp/libc/mm/types.rs @@ -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;