mingw: fix CPU reporting in `git version --build-options`
commit3815f64b0dd983bdbf9242a0547706d5d81cb3e6
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 7 Feb 2019 10:46:06 +0000 (7 02:46 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Feb 2019 21:05:37 +0000 (7 13:05 -0800)
tree249e7c2f424ef272c496e7afcf51ff377d71ad88
parent0d0ac3826a3bbb9247e39e12623bbcfdd722f24c
mingw: fix CPU reporting in `git version --build-options`

We cannot rely on `uname -m` in Git for Windows' SDK to tell us what
architecture we are compiling for, as we can compile both 32-bit and
64-bit `git.exe` from a 64-bit SDK, but the `uname -m` in that SDK will
always report `x86_64`.

So let's go back to our original design. And make it explicitly
Windows-specific.

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