Skip to content

Commit 5f7c6c1

Browse files
committed
Auto merge of #2060 - Thomasdezeeuw:macos-so_linger_sec, r=JohnTitor
Add SO_LINGER_SEC on macOS
2 parents 05cc796 + a8a28ad commit 5f7c6c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2323,6 +2323,7 @@ pub const SO_NOADDRERR: ::c_int = 0x1023;
23232323
pub const SO_NWRITE: ::c_int = 0x1024;
23242324
pub const SO_REUSESHAREUID: ::c_int = 0x1025;
23252325
pub const SO_NOTIFYCONFLICT: ::c_int = 0x1026;
2326+
pub const SO_LINGER_SEC: ::c_int = 0x1080;
23262327
pub const SO_RANDOMPORT: ::c_int = 0x1082;
23272328
pub const SO_NP_EXTENSIONS: ::c_int = 0x1083;
23282329

0 commit comments

Comments
 (0)