diff --git a/src/lib.rs b/src/lib.rs index 1d0489a..97847e3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2100,6 +2100,7 @@ fn connect( )))] let socket = { #[cfg(not(any( + target_os = "aix", target_os = "macos", target_os = "ios", target_os = "tvos", @@ -2109,6 +2110,7 @@ fn connect( )))] let flags = rn::SocketFlags::CLOEXEC; #[cfg(any( + target_os = "aix", target_os = "macos", target_os = "ios", target_os = "tvos", @@ -2123,6 +2125,7 @@ fn connect( // Set cloexec if necessary. #[cfg(any( + target_os = "aix", target_os = "macos", target_os = "ios", target_os = "tvos",