We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb2f0bb commit 5a21e90Copy full SHA for 5a21e90
src/unix/mod.rs
@@ -141,6 +141,7 @@ pub const POLLNVAL: ::c_short = 0x20;
141
pub const IF_NAMESIZE: ::size_t = 16;
142
143
pub const RTLD_LAZY: ::c_int = 0x1;
144
+pub const RTLD_DEFAULT: *mut ::c_void = 0i64 as *mut ::c_void;
145
146
cfg_if! {
147
if #[cfg(not(stdbuild))] {
src/unix/notbsd/linux/mod.rs
@@ -309,7 +309,6 @@ pub const ST_NOATIME: ::c_ulong = 1024;
309
pub const ST_NODIRATIME: ::c_ulong = 2048;
310
311
pub const RTLD_NEXT: *mut ::c_void = -1i64 as *mut ::c_void;
312
-pub const RTLD_DEFAULT: *mut ::c_void = 0i64 as *mut ::c_void;
313
pub const RTLD_NODELETE: ::c_int = 0x1000;
314
pub const RTLD_NOW: ::c_int = 0x2;
315
0 commit comments