summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDong Zhou <dong.zhou.08@gmail.com>2015-11-29 21:42:14 -0500
committerDong Zhou <dong.zhou.08@gmail.com>2015-11-29 21:42:14 -0500
commit51ed574b13b2d3afff2c5247d5b7e72b1c865726 (patch)
tree049f381cc0e56f05978d081a58d1fc94f0f3c2f9
parentc7a7f4e1ad3026a91eeab8fd6477667cf1c7a768 (diff)
downloadrust-libc-51ed574b13b2d3afff2c5247d5b7e72b1c865726.tar.gz
Add RTLD_NEXT and RTLD_DEFAULT
-rw-r--r--src/unix/notbsd/linux/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unix/notbsd/linux/mod.rs b/src/unix/notbsd/linux/mod.rs
index e584353977..ce049760d1 100644
--- a/src/unix/notbsd/linux/mod.rs
+++ b/src/unix/notbsd/linux/mod.rs
@@ -256,6 +256,9 @@ pub const ST_IMMUTABLE: ::c_ulong = 512;
pub const ST_NOATIME: ::c_ulong = 1024;
pub const ST_NODIRATIME: ::c_ulong = 2048;
+pub const RTLD_NEXT: ::c_long = -1;
+pub const RTLD_DEFAULT: ::c_long = 0;
+
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
pub const MAP_32BIT: ::c_int = 0x0040;