I am trying to compile an example program that comes with hiredis (C ++) using libuv as an event library. A Windows compatible version of Redis uses a library called Win32_Interop.
I had two problems:
Both libuv and Win32_Interop define ssize_t, but as conflicting types.
Both libuv and Win32_interop use WinSocks. Binding a program to ws2_32.lib causes duplicate definitions, and does not do so causes unresolved external characters.
How can I solve these problems?
source
share