mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-21 19:26:54 -05: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>