-
Notifications
You must be signed in to change notification settings - Fork 23.5k
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
Cannot build on cygwin: ‘SA_ONSTACK’ undeclared #232
Comments
I think something like that is needed:
Please can you try if this works for you? (Credits: the above patch was provided by @noelherrick on twitter) |
The patch is ok for me in cygwin. |
I am new to cygwin. What are the steps to be followed to apply this patch? for e.g. Do I need to create a new file which have the above lines of code etc? |
The patch worked for me too. For web searchers in the future, I added the patch after the last #define in src/redis.h (for me, this was at line 244 when I patched it). |
Thanks! The solution worked. But now seeing issues while running test. I think the faster solution would be to move to unix based env. |
antirez solution worked for me as well |
Mark..The solution worked. |
[6.0.10] Add compile and linking security flags
I'm trying to build using the 2.4.4 release on cygwin, using the unaltered makefiles. Compilation fails with:
The text was updated successfully, but these errors were encountered: