summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sys/mman.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sys/mman.rs b/src/sys/mman.rs
index 0ea7edaf..30d53881 100644
--- a/src/sys/mman.rs
+++ b/src/sys/mman.rs
@@ -140,6 +140,9 @@ libc_bitflags!{
MAP_NOCACHE;
#[cfg(any(target_os = "ios", target_os = "macos"))]
MAP_JIT;
+ /// Allows to use large pages, underlying alignment based on size.
+ #[cfg(target_os = "freesd")]
+ MAP_ALIGNED_SUPER;
}
}