mirror of
https://github.com/git/git.git
synced 2026-02-05 23:41:26 +00:00
With MSys2's GCC, `ReadWriteBarrier` is already defined, and FORCEINLINE unfortunately gets defined incorrectly. Let's work around both problems, using the MSys2-specific __MINGW64_VERSION_MAJOR constant to guard them. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>