Hi, On Mon, 14 Oct 2019, Johannes Schindelin wrote:
> On Thu, 11 Oct 2018, Junio C Hamano wrote: > > > Ævar Arnfjörð Bjarmason <ava...@gmail.com> writes: > > > > >> 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. > > I specifically wanted to leave the door open for people who might want > to put in the effort of keeping Windows XP support alive. > > But I guess this does not make any sense anymore, what with Windows > _Vista_ being at its end of its life in 3 months. > > Thanks! Will prepare a patch, Actually, while preparing that patch, I noticed that this is in the `compat/poll/` part of our source code. I'd rather not inflict the Vista-or-later requirement on that part, as it is relatively self-contained and could still be copied into software that does support Windows XP. Thanks, Dscho