mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
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.