Skip to content

Commit a0d6f3a

Browse files
authored
Remove obsolete code. (#1121)
This NetBSD constant is now upstream.
1 parent 080e0d2 commit a0d6f3a

File tree

1 file changed

+0
-5
lines changed
  • src/backend/libc

1 file changed

+0
-5
lines changed

src/backend/libc/c.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@ pub(crate) const XCASE: tcflag_t = linux_raw_sys::general::XCASE as _;
8686
#[cfg(target_os = "aix")]
8787
pub(crate) const MSG_DONTWAIT: c_int = libc::MSG_NONBLOCK;
8888

89-
// TODO: Remove once <https://github.com/rust-lang/libc/pull/3377> is merged and released.
90-
#[cfg(target_os = "netbsd")]
91-
#[cfg(feature = "net")]
92-
pub(crate) const SO_NOSIGPIPE: c_int = 0x0800;
93-
9489
// It is defined as 0 in libc under 64-bit platforms, but is automatically set
9590
// by kernel. <https://github.com/torvalds/linux/blob/v6.7/fs/open.c#L1458-L1459>
9691
#[cfg(linux_kernel)]

0 commit comments

Comments
 (0)