Thread (6 messages) flat view 6 messages, 4 authors, 2020-11-10
STALE2138d

[PATCH] compat/bswap.h: detect ARM64 when using MSVC

From: Daniel Gurney <hidden>
Date: 2020-11-07 22:21:39
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Daniel Gurney <redacted>
---
 compat/bswap.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compat/bswap.h b/compat/bswap.h
index c0bb744adc..512f6f4b99 100644
--- a/compat/bswap.h
+++ b/compat/bswap.h
@@ -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>
 
-- 
2.29.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help