From: Junio C Hamano Date: Thu, 11 Oct 2018 06:24:13 GMT Subject: Re: [PATCH 3/3] mingw: bump the minimum Windows version to Vista Message-ID: In-Reply-To: <87zhvlevxt.fsf@evledraar.gmail.com> Ævar Arnfjörð Bjarmason 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. > Both of the above are just questions I was curious about since I saw > your , and > shouldn't bee seen as bumping this to "this needs a re-roll" or it > should be delayed in getting to master.