Skip to content

Conversation

@fabianfett
Copy link
Member

TIL there is an endian.h on Linux and macOS that is imported through <sys/types.h> on Linux and Apple platforms. Apparently such a header file does not exist in Windows land. For this reason we need to define the macros that we need here ourselves.

@fabianfett fabianfett requested a review from Lukasa July 23, 2025 14:52
@fabianfett fabianfett added the 🔨 semver/patch No public API change. label Jul 23, 2025
@Lukasa Lukasa merged commit 06f236d into apple:main Jul 23, 2025
42 checks passed
@fabianfett fabianfett deleted the ff-windows-endian branch July 24, 2025 10:37
zaneenders pushed a commit to zaneenders/swift-nio that referenced this pull request Jul 27, 2025
TIL there is an `endian.h` on Linux and macOS that is imported through
`<sys/types.h>` on Linux and Apple platforms. Apparently such a header
file does not exist in Windows land. For this reason we need to define
the macros that we need here ourselves.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants