This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: DOS/Windows-specific code: ser-tcp.c


On May 8,  2:54pm, Eli Zaretskii wrote:

>     * ser-tcp.c:
> 
>     #ifndef __CYGWIN32__
>     #include <netinet/tcp.h>
>     #endif
> 
> Is netinet/tcp.h header specific to Cygwin?  If so, this could be
> replaced by a HAVE_NETINET_TCP_H macro set by Autoconf.

I can't comment on the Cygwin part of the question, but it seems
to me like it'd be a good idea to to use HAVE_NETINET_TCP_H.

Kevin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]