Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Linux's
POLLRDHUP
into linux_like
and fix its type.
This fixes two errors in #2247. - It moves the definitions of `POLLRDHUP` out of `linux_like/linux` and into `linux_like`, so that they're available on Android as well. - It changes the type from `c_int` to `c_short` to match the other `POLL*` flags. This second change is a breaking change, and I'm fine reverting it and leaving it as the old type if that's the right thing to do.
- Loading branch information
1 parent
5fefaf6
commit 84aae8c
Showing
2 changed files
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters