aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/bswap.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-12-30 03:27:36 +0000
committerlloyd <[email protected]>2009-12-30 03:27:36 +0000
commitba8123b5c97e85c2bf75016d2bed3cccecf3aeeb (patch)
treeca8588cb89da3851002e43042e85b6246e934c73 /src/utils/bswap.h
parent890ada5955e0b01330d56900074d477ecd8fa473 (diff)
Oops, it's TARGET_CPU_IS_XXX_FAMILY, not TARGET_IS_XXX_FAMILY.
Also, fix AltiVec detection on Linux and NetBSD for most G4s.
Diffstat (limited to 'src/utils/bswap.h')
-rw-r--r--src/utils/bswap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/bswap.h b/src/utils/bswap.h
index bd570e7c6..cceeda4f3 100644
--- a/src/utils/bswap.h
+++ b/src/utils/bswap.h
@@ -32,7 +32,7 @@ inline u16bit reverse_bytes(u16bit input)
inline u32bit reverse_bytes(u32bit input)
{
-#if BOTAN_USE_GCC_INLINE_ASM && defined(BOTAN_TARGET_IS_X86_FAMILY)
+#if BOTAN_USE_GCC_INLINE_ASM && defined(BOTAN_TARGET_CPU_IS_X86_FAMILY)
// GCC-style inline assembly for x86 or x86-64
asm("bswapl %0" : "=r" (input) : "0" (input));