ECONNABORTED is not defined under windows
This commit is contained in:
parent
b24191a9b9
commit
1372c1df19
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue