From 1372c1df1938826c81a4bcb68e1c913a4fc3e5c6 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Wed, 5 Oct 2011 22:42:55 +0000 Subject: [PATCH] ECONNABORTED is not defined under windows --- contrib/windows.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/windows.h b/contrib/windows.h index 01b29f0..880b54d 100644 --- a/contrib/windows.h +++ b/contrib/windows.h @@ -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