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.
* lib/strerror.c: Include errno.h and winsock2.h if it exists.
(rpl_strerror): Provide error messages for the added errno values and
# 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