From f039648d23f081b8bf9729b0223b3867fed3f46a Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 14 Sep 2008 04:32:44 +0200 Subject: [PATCH] Remove errno value definitions from . --- ChangeLog | 4 ++++ lib/sys_socket.in.h | 11 ----------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index ac10f0a783..6c22aa9272 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-09-13 Bruno Haible + + * lib/sys_socket.in.h (EINPROGRESS, ...): Remove definitions. + 2008-09-13 Bruno Haible Extend strerror to cover the added errno values. diff --git a/lib/sys_socket.in.h b/lib/sys_socket.in.h index 7c8ad30a08..6cf3f47774 100644 --- a/lib/sys_socket.in.h +++ b/lib/sys_socket.in.h @@ -94,17 +94,6 @@ # define SHUT_RDWR SD_BOTH # endif -# if defined _WIN32 || defined __WIN32__ -# define EINPROGRESS WSAEINPROGRESS -# define ENOTSOCK WSAENOTSOCK -# define EADDRINUSE WSAEADDRINUSE -# define ENETRESET WSAENETRESET -# define ECONNABORTED WSAECONNABORTED -# define ECONNRESET WSAECONNRESET -# define ENOTCONN WSAENOTCONN -# define ESHUTDOWN WSAESHUTDOWN -# endif - # if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ # define setsockopt(a,b,c,d,e) rpl_setsockopt(a,b,c,d,e) static inline int -- 2.30.2