From: i.nixman@autistici.org
To: Eli Zaretskii <eliz@gnu.org>, gdb@sourceware.org
Subject: Re: _WIN32_WINNT redefined?
Date: Wed, 02 Nov 2022 17:20:50 +0000 [thread overview]
Message-ID: <0a2bab35dcbc1df695371814c7802ec6@autistici.org> (raw)
In-Reply-To: <83fsf19u62.fsf@gnu.org>
On 2022-11-02 16:51, Eli Zaretskii wrote:
> That's on your system, with your MinGW w32api headers. But that's not
> the only game in town.
I'm sure there is no WINAPI implementation that does not define
_WIN32_WINNT. it's just impossible.
but in line 75 the condition is exactly for that impossible case.
> That's not what I suggested. I suggested that you augment the above
> cpp conditionals such that when the gthread patch is in use,
> _WIN32_WINNT is defined to 0x0600, and otherwise to 0x0501, as before.
>
> The question is: what could be a preprocessor conditional to determine
> whether the gthread patch is used, so that it could be used to augment
> the above. This is something I cannot answer, but I hope you can.
I solved my problem.
What I'm doing now is trying to tell you that it's illogical to check
the value of _WIN32_WINNT BEFORE the corresponding header file in which
this value was originally defined, has been included.
best!
next prev parent reply other threads:[~2022-11-02 17:20 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-02 8:14 i.nixman
2022-11-02 8:21 ` i.nixman
2022-11-02 8:44 ` i.nixman
2022-11-02 9:46 ` i.nixman
2022-11-02 10:15 ` i.nixman
2022-11-02 12:59 ` Eli Zaretskii
2022-11-02 13:10 ` Jeffrey Walton
2022-11-02 13:26 ` Eli Zaretskii
2022-11-02 12:50 ` Eli Zaretskii
2022-11-02 14:13 ` i.nixman
2022-11-02 15:18 ` Eli Zaretskii
2022-11-02 15:51 ` i.nixman
2022-11-02 16:02 ` i.nixman
2022-11-02 16:51 ` Eli Zaretskii
2022-11-02 17:20 ` i.nixman [this message]
2022-11-02 18:13 ` Eli Zaretskii
2022-11-02 12:55 ` Eli Zaretskii
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=0a2bab35dcbc1df695371814c7802ec6@autistici.org \
--to=i.nixman@autistici.org \
--cc=eliz@gnu.org \
--cc=gdb@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).