From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: Alen Skondro <askondro@gmail.com>
Subject: Re: [PATCH] ETIMEDOUT already defined in mingw64 library
Date: Fri, 28 Oct 2011 13:09:00 -0000 [thread overview]
Message-ID: <201110280950.58238.pedro@codesourcery.com> (raw)
In-Reply-To: <CAH9D60pGGPS-UmdJhzyxCuROd5Mk9ymJBuR-WPHWQKOFV9t+BA@mail.gmail.com>
On Thursday 27 October 2011 23:14:40, Alen Skondro wrote:
> This fixes the problem compiling gdb with latest mingw64 library (trunk).
>
> * ETIMEDOUT is already defined in mingw64.
OOC, if you're getting an error, it's because it's defined
to something different. What is is defined to?
>
> =================================================
>
> diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c
> index e3d5640..4f2dcdd 100644
> --- a/gdb/ser-tcp.c
> +++ b/gdb/ser-tcp.c
> @@ -39,7 +39,9 @@
>
> #ifdef USE_WIN32API
> #include <winsock2.h>
> +#ifndef ETIMEDOUT
> #define ETIMEDOUT WSAETIMEDOUT
> +#endif
> #define close(fd) closesocket (fd)
> #define ioctl ioctlsocket
> #else
>
--
Pedro Alves
next prev parent reply other threads:[~2011-10-28 8:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-28 2:09 Alen Skondro
2011-10-28 13:09 ` Pedro Alves [this message]
2011-10-28 13:18 ` asmwarrior
2011-10-28 13:33 ` asmwarrior
2011-10-28 14:02 ` Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201110280950.58238.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=askondro@gmail.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox