git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 3/3] mingw: bump the minimum Windows version to Vista

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 11, 2018, 06:24 UTC
Message-ID
<xmqq8t35gfw2.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<87zhvlevxt.fsf@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 21 quoted lines
>> It also means that we no longer need the inet_pton() and inet_ntop()
>> emulation, which is nice.
>
> Earlier in this series you add a:
>
> #if defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x600
> ...
> #endif
>
> Shouldn't that now be something like:
>
> #if defined(_WIN32_WINNT)
> #if _WIN32_WINNT >= 0x600
> ...
> #else
> #error "You need at least Windows Vista to build Git!"
> #endif
> #endif
>
> Or do we catch users building on non-supported versions earlier somehow
> (i.e. not just with a flood of compilation errors).
That sounds like a reasonable thing to be curious about.
> Both of the above are just questions I was curious about since I saw
> your <nycvar.QRO.7.76.6.1810101502220.2034@tvgsbejvaqbjf.bet>, and
> shouldn't bee seen as bumping this to "this needs a re-roll" or it
> should be delayed in getting to master.
Previous: Ævar Arnfjörð BjarmasonNext: Johannes Schindelin
Message 6 of 9 in “mingw: require Windows Vista or later (and fix the Windows CI builds)”
  1. 0/3 mingw: require Windows Vista or later (and fix the Windows CI builds)Johannes Schindelin via GitGitGadget, Oct 3, 2018
  2. 1/3 compat/poll: prepare for targeting Windows VistaJohannes Schindelin via GitGitGadget, Oct 3, 2018
  3. 2/3 mingw: set _WIN32_WINNT explicitly for Git for WindowsJohannes Schindelin via GitGitGadget, Oct 3, 2018
  4. 3/3 mingw: bump the minimum Windows version to VistaJohannes Schindelin via GitGitGadget, Oct 3, 2018
  5. Ævar Arnfjörð BjarmasonOct 10, 2018
  6. Junio C HamanoOct 11, 2018
  7. Johannes SchindelinOct 14, 2019
  8. Johannes SchindelinOct 14, 2019
  9. Johannes SchindelinOct 14, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.