suyu/src
comex 0791082b43 network, sockets: Replace POLL_IN, POLL_OUT, etc. constants with an enum class PollEvents
Actually, two enum classes, since for some reason there are two separate
yet identical `PollFD` types used in the codebase.  I get that one is
ABI-compatible with the Switch while the other is an abstract type used
for the host, but why not use `WSAPOLLFD` directly for the latter?

Anyway, why make this change?  Because on Apple platforms, `POLL_IN`,
`POLL_OUT`, etc. (with an underscore) are defined as macros in
<sys/signal.h>.  (This is inherited from FreeBSD.)  So defining
a variable with the same name causes a compile error.

I could just rename the variables, but while I was at it I thought I
might as well switch to an enum for stronger typing.

Also, change the type used for values copied directly to/from the
`events` and `revents` fields of the host *native*
`pollfd`/`WSASPOLLFD`, from `u32` to `short`, as `short` is the correct
canonical type on both Unix and Windows.
2020-12-06 19:14:42 -05:00
..
audio_core Update cubeb and request a persistent stream session 2020-12-05 22:26:41 +01:00
common xbyak_abi: Shorten std::size_t to size_t 2020-12-05 00:43:55 -05:00
core network, sockets: Replace POLL_IN, POLL_OUT, etc. constants with an enum class PollEvents 2020-12-06 19:14:42 -05:00
input_common mouse_poller: Remove unused includes 2020-12-03 10:41:13 -05:00
tests tests: Fix warning about comparison between signed and unsigned 2020-11-27 17:41:20 -05:00
video_core video_core: Adjust NUM macro to avoid Clang warning 2020-12-06 18:24:16 -05:00
web_service web_service: follow-up fix to #4842 ... 2020-10-28 23:16:06 -06:00
yuzu game_list_p: Resolve deprecated usage of QVariant operator< 2020-12-05 15:38:58 -05:00
yuzu_cmd yuzu_cmd: Remove 'users_size' 2020-12-05 17:50:39 -05:00
yuzu_tester core: Eliminate remaining usages of the global system instance 2020-11-27 11:40:45 -05:00
.clang-format
CMakeLists.txt CMakeLists: disable -Winvalid-offsetof 2020-11-27 17:42:02 -05:00