This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] common/filestuff.c: No sockets on DJGPP.
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Eli Zaretskii <eliz at gnu dot org>
- Date: Thu, 23 May 2013 19:37:06 +0100
- Subject: Re: [PATCH] common/filestuff.c: No sockets on DJGPP.
- References: <20130521203302 dot 23510 dot 45135 dot stgit at brno dot lan> <87y5b5bllk dot fsf at fleche dot redhat dot com>
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