diff options
author | User Vagrant <jebarker@gmail.com> | 2015-12-18 03:30:57 +0000 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2016-01-18 21:29:38 -0800 |
commit | 8d4d60fdda07e4f1d4877d67c47ddf8d8a679349 (patch) | |
tree | 27fc99d67f4a5cbeba8ebd5db94e90c35a019558 /src/sys/socket/consts.rs | |
parent | cafd7c96f18a8beed8e1328bdabdb29f1434689f (diff) | |
download | nix-8d4d60fdda07e4f1d4877d67c47ddf8d8a679349.zip |
Disable IPV6_ADD_MEMBERSHIP on freebsd
Diffstat (limited to 'src/sys/socket/consts.rs')
-rw-r--r-- | src/sys/socket/consts.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sys/socket/consts.rs b/src/sys/socket/consts.rs index 476fffbf..4b5f7092 100644 --- a/src/sys/socket/consts.rs +++ b/src/sys/socket/consts.rs @@ -204,9 +204,9 @@ mod os { pub const IP_ADD_MEMBERSHIP: c_int = 12; pub const IP_DROP_MEMBERSHIP: c_int = 13; - #[cfg(not(any(target_os = "macos", target_os = "ios", target_os = "netbsd", target_os = "dragonfly")))] + #[cfg(not(any(target_os = "macos", target_os = "ios", target_os = "netbsd", target_os = "dragonfly", target_os = "freebsd")))] pub const IPV6_ADD_MEMBERSHIP: c_int = libc::IPV6_ADD_MEMBERSHIP; - #[cfg(not(any(target_os = "macos", target_os = "ios", target_os = "netbsd", target_os = "dragonfly")))] + #[cfg(not(any(target_os = "macos", target_os = "ios", target_os = "netbsd", target_os = "dragonfly", target_os = "freebsd")))] pub const IPV6_DROP_MEMBERSHIP: c_int = libc::IPV6_DROP_MEMBERSHIP; #[cfg(target_os = "netbsd")] |