Commit 4b9d28a
fixup??? mingw: allow
This patch makes it so that Git really sets the desired `MSYSTEM` on
Windows/ARM64.
The reason this did not work (and my faulty tests did not catch that
before merging #5586) is that
clang (at least version 20.1.3 as built from
https://github.com/git-for-windows/MINGW-packages
8df0c2fff4184deff15acce9bfd791fb6e0d60fe) predefines the `__MINGW64__`
constant:
$ echo | clang -dM -E - | grep -n MINGW64
249:#define __MINGW64__ 1
Let's just switch the order between the CLANGARM64 and the MINGW64 test;
This will still work for MINGW64 because none of the constants used in
the CLANGARM64 condition are defined for x64 gcc (or for that matter,
clang).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>git.exe to be used instead of the "Git wrapper"1 parent f510d8c commit 4b9d28a
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3746 | 3746 | | |
3747 | 3747 | | |
3748 | 3748 | | |
3749 | | - | |
3750 | | - | |
3751 | | - | |
| 3749 | + | |
3752 | 3750 | | |
| 3751 | + | |
| 3752 | + | |
3753 | 3753 | | |
3754 | 3754 | | |
3755 | 3755 | | |
| |||
0 commit comments