Building memcached 1.4.x on windows error with cygwin
I'm trying to build memcached from couchbase-server_src on Windows. Here's what I get:
configure: error: Can't enable threads without the POSIX thread library.
How to compile memcached from couchbase-server_src on Windows?
I use cygwin x32 with gcc 4.6.0.
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
in the single file (not from configure) compiles fine on my gcc.
Is there something that I've missed?