Skip to content
Snippets Groups Projects
Commit e03d9380 authored by bors's avatar bors
Browse files

Auto merge of #1481 - FenrirWolf:newlib-socket-fix, r=gnzlbg

Define newlib socket types by target arch

This is a follow-up to https://github.com/rust-lang/libc/pull/1477. As mentioned in that PR, the primary (only?) users of these newlib definitions are myself and @leo60228. This PR makes it so that my arm-based 3DS target keeps using the old socket definitions while leo's aarch64-based Switch target uses the BSD versions.

The 3DS also has inverted definitions for `POLLHUP` and `POLLOUT` for whatever reason, so I figured I'd take care of that here too.
parents 50fbf0c4 fd037479
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment