Mercurial > hg > octave-lojdl > gnulib-hg
changeset 10430:1e129af73cb0
Remove errno value definitions from <sys/socket.h>.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 14 Sep 2008 04:32:44 +0200 |
parents | 69d9922a5bd2 |
children | a75ed2b28dc5 |
files | ChangeLog lib/sys_socket.in.h |
diffstat | 2 files changed, 4 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -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 +++ 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