Auto merge of #669 - GuillaumeGomez:mac-consts, r=alexcrichton
Add missing constants for mac I didn't find these constants on other systems than mac so only mac is updated...
This commit is contained in:
commit
12e22cf5a5
@ -155,6 +155,7 @@ fn main() {
|
||||
if target.starts_with("x86") {
|
||||
cfg.header("crt_externs.h");
|
||||
}
|
||||
cfg.header("net/route.h");
|
||||
}
|
||||
|
||||
if bsdlike {
|
||||
|
@ -1538,6 +1538,9 @@ pub const XATTR_NOSECURITY: ::c_int = 0x0008;
|
||||
pub const XATTR_NODEFAULT: ::c_int = 0x0010;
|
||||
pub const XATTR_SHOWCOMPRESSION: ::c_int = 0x0020;
|
||||
|
||||
pub const NET_RT_IFLIST2: ::c_int = 0x0006;
|
||||
pub const RTM_IFINFO2: ::c_int = 0x0012;
|
||||
|
||||
f! {
|
||||
pub fn WSTOPSIG(status: ::c_int) -> ::c_int {
|
||||
status >> 8
|
||||
|
Loading…
Reference in New Issue
Block a user