bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new module 'errno'


From: Bruno Haible
Subject: Re: new module 'errno'
Date: Sun, 14 Sep 2008 04:34:52 +0200
User-agent: KMail/1.5.4

With all errno values defined in <errno.h>, there is no more need to have
these definitions in the <sys/socket.h> replacement. I've applied this:

2008-09-13  Bruno Haible  <address@hidden>

        * lib/sys_socket.in.h (EINPROGRESS, ...): Remove definitions.

*** lib/sys_socket.in.h.orig    2008-09-14 04:32:06.000000000 +0200
--- lib/sys_socket.in.h 2008-09-14 04:30:18.000000000 +0200
***************
*** 94,110 ****
  #  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
--- 94,99 ----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]