From c869ccb9cc4c314ffe276f1a04c5b091e692a41f Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 31 Jul 2009 13:20:26 +0000 Subject: A typo in a macro check in bswap.h meant inline asm bswap was not used on Visual C++ --- src/utils/bswap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/bswap.h') diff --git a/src/utils/bswap.h b/src/utils/bswap.h index af51e4e47..7b7edb528 100644 --- a/src/utils/bswap.h +++ b/src/utils/bswap.h @@ -31,7 +31,7 @@ inline u32bit reverse_bytes(u32bit input) asm("bswapl %0" : "=r" (input) : "0" (input)); return input; -#elif defined(_MSC_VER) && defined(BOTAN_TARGER_ARCH_IS_IA32) +#elif defined(_MSC_VER) && defined(BOTAN_TARGET_ARCH_IS_IA32) /* Visual C++ inline asm for 32-bit x86, by Yves Jerschow */ __asm mov eax, x; __asm bswap eax; -- cgit v1.2.3