From: Bruno Haible Date: Sun, 14 Sep 2008 02:32:44 +0000 (+0200) Subject: Remove errno value definitions from . X-Git-Tag: v0.1~7052 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=f039648d23f081b8bf9729b0223b3867fed3f46a;p=gnulib.git Remove errno value definitions from . --- diff --git a/ChangeLog b/ChangeLog index ac10f0a78..6c22aa927 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 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. * lib/strerror.c: Include errno.h and winsock2.h if it exists. (rpl_strerror): Provide error messages for the added errno values and diff --git a/lib/sys_socket.in.h b/lib/sys_socket.in.h index 7c8ad30a0..6cf3f4777 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