Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors compiling with Cygwin #6511

Closed
cercata opened this issue May 27, 2024 · 1 comment
Closed

Errors compiling with Cygwin #6511

cercata opened this issue May 27, 2024 · 1 comment

Comments

@cercata
Copy link

cercata commented May 27, 2024

I don't know if you intend to support Cygwin, if not, just close this, and I'll try to find workarounds.

First I have a compilation error because SO_REUSEPORT is not defined.
I was able to continue compiling adding this line to CMakeLists.txt:
add_definitions(-DSO_REUSEPORT=SO_REUSEADDR)

Then when trying to compile eventloop_posix_udp.c, the type "struct ip_mreqn" is not available

@jpfr
Copy link
Member

jpfr commented Jun 11, 2024

Yes, we want to support Cygwin.
I would #ifdef the offending code instead of working with compiler flags.
You can send a patch and/or suggest a way to include Cygwin in our CI pipeline.

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

No branches or pull requests

2 participants