Mercurial > gnulib
changeset 30121:200cbca092db
Remove errno value definitions from <sys/socket.h>.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 14 Sep 2008 04:32:44 +0200 |
parents | 0c14b17d8f2a |
children | be214541c216 |
files | ChangeLog lib/sys_socket.in.h |
diffstat | 2 files changed, 4 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Sep 14 04:18:44 2008 +0200 +++ b/ChangeLog Sun Sep 14 04:32:44 2008 +0200 @@ -1,3 +1,7 @@ +2008-09-13 Bruno Haible <bruno@clisp.org> + + * lib/sys_socket.in.h (EINPROGRESS, ...): Remove definitions. + 2008-09-13 Bruno Haible <bruno@clisp.org> Extend strerror to cover the added errno values.
--- a/lib/sys_socket.in.h Sun Sep 14 04:18:44 2008 +0200 +++ b/lib/sys_socket.in.h Sun Sep 14 04:32:44 2008 +0200 @@ -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