summaryrefslogtreecommitdiff
path: root/libavutil/bswap.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/bswap.h')
-rw-r--r--libavutil/bswap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/bswap.h b/libavutil/bswap.h
index 46538f4ada..4614c90458 100644
--- a/libavutil/bswap.h
+++ b/libavutil/bswap.h
@@ -36,7 +36,7 @@
# define LEGACY_REGS "=q"
#endif
-#if defined(ARCH_X86) || defined(ARCH_X86_64)
+#if defined(ARCH_X86)
static always_inline uint16_t bswap_16(uint16_t x)
{
__asm("rorw $8, %0" :
@@ -149,7 +149,7 @@ static inline uint64_t bswap_64(uint64_t x)
return r.ll;
#endif
}
-#endif /* defined(ARCH_X86) || defined(ARCH_X86_64) */
+#endif /* defined(ARCH_X86) */
#endif /* !HAVE_BYTESWAP_H */