Remove errno value definitions from <sys/socket.h>.
authorBruno Haible <bruno@clisp.org>
Sun, 14 Sep 2008 02:32:44 +0000 (04:32 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 14 Sep 2008 02:32:44 +0000 (04:32 +0200)
ChangeLog
lib/sys_socket.in.h

index ac10f0a783e6b496b50ca3ddc5f060f7387278bc..6c22aa92722835bbad6e59cd584af6803eb647f2 100644 (file)
--- 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.
index 7c8ad30a08bdece6b7b9130bc561db1680a94dc1..6cf3f47774d9714a9a0a3c64c10d903e10130979 100644 (file)
 #  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