Skip to content

Commit c2bfe30

Browse files
committed
Auto merge of #3263 - tzneal:add-msg-nosignal, r=JohnTitor
add MSG_NEEDSA and MSG_NOSIGNAL for macos Add some more socket constants.
2 parents 3b808cf + be93cda commit c2bfe30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3851,7 +3851,8 @@ pub const MSG_HOLD: ::c_int = 0x800;
38513851
pub const MSG_SEND: ::c_int = 0x1000;
38523852
pub const MSG_HAVEMORE: ::c_int = 0x2000;
38533853
pub const MSG_RCVMORE: ::c_int = 0x4000;
3854-
// pub const MSG_COMPAT: ::c_int = 0x8000;
3854+
pub const MSG_NEEDSA: ::c_int = 0x10000;
3855+
pub const MSG_NOSIGNAL: ::c_int = 0x80000;
38553856

38563857
pub const SCM_TIMESTAMP: ::c_int = 0x02;
38573858
pub const SCM_CREDS: ::c_int = 0x03;

0 commit comments

Comments
 (0)