Skip to content

Instantly share code, notes, and snippets.

Avatar

Tomislav Brabec cromat

View GitHub Profile
@cromat
cromat / Compile Redis with Cygwin.md
Last active Nov 4, 2019 — forked from pcan/README.md
Compile Redis with Cygwin
View Compile Redis with Cygwin.md

Prerequisites

Install Cygwin with make, gcc, g++ and tcl.
(If you use apt-cyg you can install them with apt-cyg install make, apt-cyg install gcc-core and apt-cyg install tcl
Download Redis tar.gz package, unpack it.

Patch

Edit deps/hiredis/net.c and add following line before include directives: