Skip to content

Commit ce48715

Browse files
committed
Add MADV_SETMAP for DragonFly
1 parent 5cacf97 commit ce48715

File tree

1 file changed

+1
-0
lines changed
  • src/unix/bsd/freebsdlike/dragonfly

1 file changed

+1
-0
lines changed

src/unix/bsd/freebsdlike/dragonfly/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ pub const RAND_MAX: ::c_int = 0x7fff_ffff;
174174
pub const PTHREAD_STACK_MIN: ::size_t = 16384;
175175
pub const SIGSTKSZ: ::size_t = 40960;
176176
pub const MADV_INVAL: ::c_int = 10;
177+
pub const MADV_SETMAP: ::c_int = 11;
177178
pub const O_CLOEXEC: ::c_int = 0x00020000;
178179
pub const O_DIRECTORY: ::c_int = 0x08000000;
179180
pub const F_GETLK: ::c_int = 7;

0 commit comments

Comments
 (0)