mirror of
https://github.com/git/git.git
synced 2024-10-30 05:47:53 +01:00
Merge branch 'dg/bswap-msvc'
Define ARM64 compiled with MSVC to be little-endian. * dg/bswap-msvc: compat/bswap.h: don't assume MSVC is little-endian compat/bswap.h: simplify MSVC endianness detection
This commit is contained in:
commit
890bc959af
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ static inline uint64_t git_bswap64(uint64_t x)
|
|||
}
|
||||
#endif
|
||||
|
||||
#elif defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_X64))
|
||||
#elif defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_X64) || defined(_M_ARM64))
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue