From b2bfe8d52a93767fbeea37d83300cbc3b1ae641d Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 30 Dec 2009 02:55:16 +0000 Subject: Use IS_XXX_FAMILY macros where useful --- src/utils/bswap.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/utils/bswap.h') diff --git a/src/utils/bswap.h b/src/utils/bswap.h index 96ec4982a..bd570e7c6 100644 --- a/src/utils/bswap.h +++ b/src/utils/bswap.h @@ -32,8 +32,7 @@ inline u16bit reverse_bytes(u16bit input) inline u32bit reverse_bytes(u32bit input) { -#if BOTAN_USE_GCC_INLINE_ASM && (defined(BOTAN_TARGET_ARCH_IS_IA32) || \ - defined(BOTAN_TARGET_ARCH_IS_AMD64)) +#if BOTAN_USE_GCC_INLINE_ASM && defined(BOTAN_TARGET_IS_X86_FAMILY) // GCC-style inline assembly for x86 or x86-64 asm("bswapl %0" : "=r" (input) : "0" (input)); -- cgit v1.2.3