mingw: set _WIN32_WINNT explicitly for Git for Windows
commit3571e78aa490e9e2d5cf12372ae042c782b27b53
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 3 Oct 2018 19:43:43 +0000 (3 12:43 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Oct 2018 12:39:56 +0000 (4 05:39 -0700)
tree32024b5f63631c85659f37e2aa27c85d58a6802f
parentd7e357fb9c702979d5b3a7d9faa869844a12e4d9
mingw: set _WIN32_WINNT explicitly for Git for Windows

Previously, we only ever declared a target Windows version if compiling
with Visual C.

Which meant that we were relying on the MinGW headers to guess which
Windows version we want to target...

Let's be explicit about it, in particular because we actually want to
bump the target Windows version to Vista (which we will do in the next
commit).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-compat-util.h