> 2010-03-28 Bruno Haible
>
> unistd: Avoid #define replacements in C++ mode.
> * lib/unistd.in.h (socket, connect, accept, bind, getpeername,
> getsockname, getsockopt, listen, recv, send, recvfrom, sendto,
> setsockopt, shutdown, select): In C++, attach a warning to th
Hi John,
Thanks for this report.
> The current gnulib unistd.in.h file includes the following section:
>
> #if @GNULIB_GETHOSTNAME@
> /* Get all possible declarations of gethostname(). */
> # if @UNISTD_H_HAVE_WINSOCK2_H@
> # if !defined _GL_SYS_SOCKET_H
> # undef socket
> # de
The current gnulib unistd.in.h file includes the following section:
#if @GNULIB_GETHOSTNAME@
/* Get all possible declarations of gethostname(). */
# if @UNISTD_H_HAVE_WINSOCK2_H@
# if !defined _GL_SYS_SOCKET_H
# undef socket
# define socket socket_used_without_inclu