ECONNABORTED is not defined under windows

This commit is contained in:
Romuald Conty 2011-10-05 22:42:55 +00:00
parent b24191a9b9
commit 1372c1df19

View file

@ -35,7 +35,8 @@
# define MIN(a,b) min(a,b)
# define pipe(fds) _pipe(fds, 5000, _O_BINARY)
# define ETIMEDOUT WSAETIMEDOUT
# define ENOTSUP 134
# define ENOTSUP WSAEOPNOTSUPP
# define ECONNABORTED WSAECONNABORTED
# else
# define snprintf sprintf_s
# define strdup _strdup