Skip to content

Commit 94e9b3c

Browse files
committed
Merge pull request rust-lang#84 from dongz9/master
Add RTLD_NEXT and RTLD_DEFAULT
2 parents c7a7f4e + 188bef6 commit 94e9b3c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/unix/notbsd/linux/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,9 @@ pub const ST_IMMUTABLE: ::c_ulong = 512;
256256
pub const ST_NOATIME: ::c_ulong = 1024;
257257
pub const ST_NODIRATIME: ::c_ulong = 2048;
258258

259+
pub const RTLD_NEXT: *mut ::c_void = -1i64 as *mut ::c_void;
260+
pub const RTLD_DEFAULT: *mut ::c_void = 0i64 as *mut ::c_void;
261+
259262
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
260263
pub const MAP_32BIT: ::c_int = 0x0040;
261264

0 commit comments

Comments
 (0)