core: Fix clang build

Recent changes to the build system that made more warnings be flagged as
errors caused building via clang to break.

Fixes #4795
This commit is contained in:
Lioncash
2020-10-15 14:49:45 -04:00
parent ca416a0fb8
commit be1954e04c
105 changed files with 906 additions and 667 deletions

View File

@ -67,12 +67,12 @@ struct PollFD {
u16 revents;
};
constexpr u16 POLL_IN = 1 << 0;
constexpr u16 POLL_PRI = 1 << 1;
constexpr u16 POLL_OUT = 1 << 2;
constexpr u16 POLL_ERR = 1 << 3;
constexpr u16 POLL_HUP = 1 << 4;
constexpr u16 POLL_NVAL = 1 << 5;
constexpr u32 POLL_IN = 1 << 0;
constexpr u32 POLL_PRI = 1 << 1;
constexpr u32 POLL_OUT = 1 << 2;
constexpr u32 POLL_ERR = 1 << 3;
constexpr u32 POLL_HUP = 1 << 4;
constexpr u32 POLL_NVAL = 1 << 5;
class NetworkInstance {
public: