diff options
author | bors <bors@rust-lang.org> | 2017-05-01 19:33:31 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2017-05-01 19:33:31 +0000 |
commit | 5257dd8cc09df7d7763e6921de75cfcab47d7b3c (patch) | |
tree | 18fa26a62594ea5bc243b405799e4bc3ad15c52c | |
parent | 44805ffd03a9088b2fd75c03d9162fa5744f67c5 (diff) | |
parent | 0b59ace8e212c388280695d8154a1dc2dc59cd72 (diff) | |
download | rust-libc-5257dd8cc09df7d7763e6921de75cfcab47d7b3c.tar.gz |
Auto merge of #588 - PlasmaPower:patch-1, r=alexcrichton
Add RTLD_NEXT and RTLD_SELF to *BSD
-rw-r--r-- | src/unix/bsd/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/bsd/mod.rs b/src/unix/bsd/mod.rs index 69c71389ad..96b0f22a10 100644 --- a/src/unix/bsd/mod.rs +++ b/src/unix/bsd/mod.rs @@ -275,7 +275,9 @@ pub const WNOHANG: ::c_int = 0x00000001; pub const WUNTRACED: ::c_int = 0x00000002; pub const RTLD_NOW: ::c_int = 0x2; +pub const RTLD_NEXT: *mut ::c_void = -1isize as *mut ::c_void; pub const RTLD_DEFAULT: *mut ::c_void = -2isize as *mut ::c_void; +pub const RTLD_SELF: *mut ::c_void = -3isize as *mut ::c_void; pub const LOG_CRON: ::c_int = 9 << 3; pub const LOG_AUTHPRIV: ::c_int = 10 << 3; |