From ae034d6f087d23d20f56950be306f81456f49921 Mon Sep 17 00:00:00 2001 From: Taiju Yamada Date: Mon, 11 Mar 2024 12:15:56 +0900 Subject: [PATCH] Use _byteswap_ushort etc for WIN32 Signed-off-by: Taiju Yamada --- include/unaligned.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/unaligned.h b/include/unaligned.h index 95de76f..d73372c 100644 --- a/include/unaligned.h +++ b/include/unaligned.h @@ -50,7 +50,7 @@ #define isal_bswap16(x) bswap_16(x) #define isal_bswap32(x) bswap_32(x) #define isal_bswap64(x) bswap_64(x) -#elif defined _WIN64 +#elif defined _WIN32 #define isal_bswap16(x) _byteswap_ushort(x) #define isal_bswap32(x) _byteswap_ulong(x) #define isal_bswap64(x) _byteswap_uint64(x)