From: Bruno Haible Date: Sun, 14 Sep 2008 02:32:44 +0000 (+0200) Subject: Remove errno value definitions from . X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f039648d23f081b8bf9729b0223b3867fed3f46a;p=pspp Remove errno value definitions from . --- 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