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

Windows support pull request #52

Closed
wants to merge 15 commits into from

Conversation

koenvandesande
Copy link

Based on https://github.com/antirez/hiredis/pull/48 , this is my version of it which cleans up some issues and avoids the requirements for all users of the library to include config.h.

@koenvandesande
Copy link
Author

I have updated my Windows 'fixes' and cleanups to fix another bug, and have merged in the latest v0.11.
I hope Windows support for the Redis client library can be merged soon!

_WIN32 is automatically defined on Windows 32-bit and 64-bit by both MSVC++ and MinGW.
@koenvandesande
Copy link
Author

@moreaki , I replaced the custom define HIREDIS_WIN by _WIN32.

@pietern
Copy link
Contributor

pietern commented Jul 11, 2013

My comment on the issue with Windows support is the same as in #139.

It would be nice to support Windows. The problem is that I don't know of a way to provide guarantees that Windows continues to work when the code is modified (I don't run Windows myself, nor know a CI service for Windows code).

@koenvandesande If you maintain this Windows fork, I'd be more than happy to link to it from the README.

@bakwc
Copy link

bakwc commented Aug 14, 2013

The main official C client should support win32. Possibility of having broken build is better that not having any build at all. This is a very usefull feature and if it is broken a lot of developers will be glad to fix it.

@aleks-f
Copy link

aleks-f commented Jan 10, 2015

I agree about the need for Windows support. For CI, there is Visual Studio Online. Is there any possibility to get this pull merged?

@francesco-loreti
Copy link

Any news? Because now when I try to install Rails 5 Beta1 hiredis gem version 0.5.2 is required and I can't do that because it's not compatible with windows so what can I do? Thanks

@badboy
Copy link
Contributor

badboy commented Dec 29, 2015

Wait for the update on hiredis-rb ;)

@derotune
Copy link

derotune commented Jan 9, 2016

+1 waiting

@koenvandesande
Copy link
Author

You should use the hiredis that is part of the Microsoft Open-Source Redis version: https://github.com/MSOpenTech/redis
That one fully works on Windows. The version in this pull request doesn't merge (at all) with the latest hiredis.

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.

8 participants