summaryrefslogtreecommitdiff
path: root/src/sys/socket/consts.rs
diff options
context:
space:
mode:
authorUser Vagrant <jebarker@gmail.com>2015-12-18 03:30:57 +0000
committerCarl Lerche <me@carllerche.com>2016-01-18 21:29:38 -0800
commit8d4d60fdda07e4f1d4877d67c47ddf8d8a679349 (patch)
tree27fc99d67f4a5cbeba8ebd5db94e90c35a019558 /src/sys/socket/consts.rs
parentcafd7c96f18a8beed8e1328bdabdb29f1434689f (diff)
downloadnix-8d4d60fdda07e4f1d4877d67c47ddf8d8a679349.zip
Disable IPV6_ADD_MEMBERSHIP on freebsd
Diffstat (limited to 'src/sys/socket/consts.rs')
-rw-r--r--src/sys/socket/consts.rs4
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")]