git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Faster timeout when connecting
[novacoin.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index
e4bf0fb
..
cd0761e
100644
(file)
--- 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