Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Conversation

@mooware
Copy link

@mooware mooware commented Aug 1, 2017

The Windows port of hiredis defines and exports a few symbols that conflict with ws2_32.lib (winsock2), leading to linker errors if both the hiredis static lib and the winsock DLL are linked in. This is also described in the open issue #5.

I order to avoid the conflicts, I added the option to build hiredis as a DLL which only exports the required API functions.

I've also added CMake build configuration to test/use my changes, although I don't have any experience with CMake so it might not be very good, and I don't know if you'd even want it.

@microsoft microsoft deleted a comment from msftclas Sep 26, 2017
@microsoft microsoft deleted a comment from msftclas Sep 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants