Skip to content

Commit

Permalink
Add RTLD_DEFAULT to more platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Apr 4, 2016
1 parent fb2f0bb commit 5a21e90
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ pub const POLLNVAL: ::c_short = 0x20;
pub const IF_NAMESIZE: ::size_t = 16;

pub const RTLD_LAZY: ::c_int = 0x1;
pub const RTLD_DEFAULT: *mut ::c_void = 0i64 as *mut ::c_void;

cfg_if! {
if #[cfg(not(stdbuild))] {
Expand Down
1 change: 0 additions & 1 deletion src/unix/notbsd/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ pub const ST_NOATIME: ::c_ulong = 1024;
pub const ST_NODIRATIME: ::c_ulong = 2048;

pub const RTLD_NEXT: *mut ::c_void = -1i64 as *mut ::c_void;
pub const RTLD_DEFAULT: *mut ::c_void = 0i64 as *mut ::c_void;
pub const RTLD_NODELETE: ::c_int = 0x1000;
pub const RTLD_NOW: ::c_int = 0x2;

Expand Down

0 comments on commit 5a21e90

Please sign in to comment.