From: asmwarrior <asmwarrior@gmail.com>
Cc: Pedro Alves <pedro@codesourcery.com>,
gdb-patches@sourceware.org, Alen Skondro <askondro@gmail.com>,
Xun Xun <xunxun1982@gmail.com>
Subject: Re: [PATCH] ETIMEDOUT already defined in mingw64 library
Date: Fri, 28 Oct 2011 13:33:00 -0000 [thread overview]
Message-ID: <4EAAAC48.6050209@gmail.com> (raw)
In-Reply-To: <4EAAAA3B.7090506@gmail.com>
On 2011-10-28 21:12, asmwarrior wrote:
> On 2011-10-28 16:50, Pedro Alves wrote:
>> OOC, if you're getting an error, it's because it's defined
>> to something different. What is is defined to?
> In file:
> i686-w64-mingw32\include\errno.h
>
> It was defined as below:
>
> /* Defined as WSAETIMEDOUT. */
> #ifndef ETIMEDOUT
> #define ETIMEDOUT 10060
> #endif
>
>
BTW:
WSAETIMEDOUT can be found in two places:
i686-w64-mingw32\include\psdk_inc\_wsa_errnos.h
line 43:
#define WSAETIMEDOUT (WSABASEERR + 60 )
and WSABASEERR is defined by:
#define WSABASEERR 10000
In another place:
i686-w64-mingw32\include\winerror.h line 1646
#define WSAETIMEDOUT 10060L
I'm not sure which header file does \gdb\ser-tcp.c use.
So, it looks like all the ETIMEDOUT definition is actually the same value.
next prev parent reply other threads:[~2011-10-28 13:18 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
2011-10-28 13:18 ` asmwarrior
2011-10-28 13:33 ` asmwarrior [this message]
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=4EAAAC48.6050209@gmail.com \
--to=asmwarrior@gmail.com \
--cc=askondro@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=pedro@codesourcery.com \
--cc=xunxun1982@gmail.com \
/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