Skip to content

c.darwin: define MSG for macos #24224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 24, 2025
Merged

Conversation

dacheng-gao
Copy link
Contributor

This fixes #24223

/// do not generate SIGPIPE on EOF
pub const NOSIGNAL = 0x80000;
/// Inherit upcall in sock_accept
pub const USEUPCALL = 0x80000000;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is this one from? I don't see it in our vendored lib/libc/include/any-macos-any/sys/socket.h.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@linusg any idea why we don't have this in our vendored headers yet?

@alexrp alexrp self-assigned this Jun 20, 2025
@alexrp alexrp merged commit 35329b5 into ziglang:master Jun 24, 2025
10 checks passed
@alexrp alexrp removed their assignment Jun 24, 2025
@dacheng-gao dacheng-gao deleted the dacheng/darwin-MSG branch June 24, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

posix.MSG definition for macos is missing
2 participants