[PATCH] common/filestuff.c: No sockets on DJGPP.

Pedro Alves palves@redhat.com
Thu May 23 18:37:00 GMT 2013


On 05/22/2013 03:49 AM, Eli Zaretskii wrote:
> This is fine with me, thanks.

On 05/23/2013 07:24 PM, Tom Tromey wrote:
> Pedro> 	* common/filestuff.c [USE_WIN32API]: Define HAVE_SOCKETS.
> Pedro> 	[HAVE_SYS_SOCKET_H]: Define HAVE_SOCKETS.
> Pedro> 	(socket_mark_cloexec, gdb_socketpair_cloexec, gdb_socket_cloexec):
> Pedro> 	Only define if HAVE_SOCKETS is defined.
> Pedro> 	* configure.ac: Check for sys/socket.h.
> Pedro> 	* config.in, configure: Regenerate.
> 
> Looks good to me.  Thanks.

Thanks guys.  I've put it in now.

-- 
Pedro Alves



More information about the Gdb-patches mailing list