aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2011-06-11 16:17:13 -0700
committerJeff Garzik <jgarzik@exmulti.com>2011-06-11 16:17:13 -0700
commitce148944c776ae8e91cc058f44ddce356c7cebc9 (patch)
treece40033b63b17ee2527795781885a76310d5fe0d /src/util.h
parente051f1b510c2a8da51c099c73d5750b9c8c9422b (diff)
parent76d660ebd336d3dd47dd555ebbaa721a4cc978b2 (diff)
Merge pull request #300 from sipa/connecttimeoutv0.3.23rc1v0.3.23
non-blocking connect (by phantomcircuit)
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index e4bf0fb10d..cd0761ee39 100644
--- a/src/util.h
+++ b/src/util.h
@@ -105,6 +105,8 @@ T* alignup(T* p)
typedef int socklen_t;
#else
#define WSAGetLastError() errno
+#define WSAEINVAL EINVAL
+#define WSAEALREADY EALREADY
#define WSAEWOULDBLOCK EWOULDBLOCK
#define WSAEMSGSIZE EMSGSIZE
#define WSAEINTR EINTR