Skip to content

Conversation

@falbrechtskirchinger
Copy link
Contributor

Instead of using a macro for poll() on Windows, which breaks when the implementation is compiled separately, add a detail::poll_wrapper() function that dispatches to either ::poll() or ::WSAPoll().

Build compiled library on Windows to catch regressions.

Fixes #2106.

Instead of using a macro for poll() on Windows, which breaks when the
implementation is compiled separately, add a detail::poll_wrapper()
function that dispatches to either ::poll() or ::WSAPoll().
@yhirose
Copy link
Owner

yhirose commented Mar 12, 2025

@falbrechtskirchinger looks good to me!

@yhirose yhirose merged commit 2f39723 into yhirose:master Mar 12, 2025
8 of 9 checks passed
@Chuvi-w
Copy link

Chuvi-w commented Mar 12, 2025

Seems, this way should work too. #2108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mingw32 error (poll was not declared) + strange "poll" def/undef in splitted header.

3 participants