| ... | @@ -1263,10 +1263,10 @@ pub const RTLD_NOLOAD = 0x10; | ... | @@ -1263,10 +1263,10 @@ pub const RTLD_NOLOAD = 0x10; |
| 1263 | pub const RTLD_NODELETE = 0x80; | 1263 | pub const RTLD_NODELETE = 0x80; |
| 1264 | pub const RTLD_FIRST = 0x100; | 1264 | pub const RTLD_FIRST = 0x100; |
| 1265 | | 1265 | |
| 1266 | pub const RTLD_NEXT = @intToPtr(*c_void, ~maxInt(usize)); | 1266 | pub const RTLD_NEXT = @intToPtr(*c_void, @bitCast(usize, @as(isize, -1))); |
| 1267 | pub const RTLD_DEFAULT = @intToPtr(*c_void, ~maxInt(usize) - 1); | 1267 | pub const RTLD_DEFAULT = @intToPtr(*c_void, @bitCast(usize, @as(isize, -2))); |
| 1268 | pub const RTLD_SELF = @intToPtr(*c_void, ~maxInt(usize) - 2); | 1268 | pub const RTLD_SELF = @intToPtr(*c_void, @bitCast(usize, @as(isize, -3))); |
| 1269 | pub const RTLD_MAIN_ONLY = @intToPtr(*c_void, ~maxInt(usize) - 4); | 1269 | pub const RTLD_MAIN_ONLY = @intToPtr(*c_void, @bitCast(usize, @as(isize, -5))); |
| 1270 | | 1270 | |
| 1271 | /// duplicate file descriptor | 1271 | /// duplicate file descriptor |
| 1272 | pub const F_DUPFD = 0; | 1272 | pub const F_DUPFD = 0; |