Skip to content

Commit

Permalink
windows needs EINPROGRESS, EISCONN
Browse files Browse the repository at this point in the history
Change-Id: I5295bd136a9b8cf65d5ef0feaaa54dfccec81cb4
Reviewed-on: http://review.northscale.com/2312
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Matt Ingenthron <matt@northscale.com>
Tested-by: Steve Yen <steve.yen@gmail.com>
  • Loading branch information
steveyen committed Sep 13, 2010
1 parent d612be0 commit 481f960
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions mcs.h
Expand Up @@ -7,6 +7,15 @@
#include "config.h"
#endif

#ifdef WIN32
#ifndef EINPROGRESS
#define EINPROGRESS WSAEINPROGRESS
#endif
#ifndef EISCONN
#define EISCONN WSAEISCONN
#endif
#endif

// The mcs API's are a level of indirection from direct libmemcached
// and libvbucket API usage.
//
Expand Down

0 comments on commit 481f960

Please sign in to comment.