Add RTLD_DEFAULT to more platforms

This commit is contained in:
Alex Crichton 2016-04-04 11:51:04 -07:00
parent fb2f0bbdab
commit 031a450aeb
2 changed files with 2 additions and 0 deletions

View File

@ -290,6 +290,7 @@ pub const NOFLSH: ::tcflag_t = 0x80000000;
pub const WNOHANG: ::c_int = 1;
pub const RTLD_NOW: ::c_int = 0x2;
pub const RTLD_DEFAULT: *mut ::c_void = -2isize as *mut ::c_void;
f! {
pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> () {

View File

@ -550,6 +550,7 @@ pub const TIOCCONS: ::c_int = 0x541D;
pub const RTLD_GLOBAL: ::c_int = 0x2;
pub const RTLD_NOLOAD: ::c_int = 0x4;
pub const RTLD_NOW: ::c_int = 0;
pub const RTLD_DEFAULT: *mut ::c_void = -1isize as *mut ::c_void;
f! {
pub fn sigemptyset(set: *mut sigset_t) -> ::c_int {