From 7b087bf4a9fe5df50cdfe93c98938027843f8d3d Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sat, 31 Mar 2012 17:03:43 +0000 Subject: [PATCH] modes_lcl.h: make it work on i386 [from HEAD]. PR: 2780 --- crypto/modes/modes_lcl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/modes/modes_lcl.h b/crypto/modes/modes_lcl.h index 7a82a981ca..b6dc3c336f 100644 --- a/crypto/modes/modes_lcl.h +++ b/crypto/modes/modes_lcl.h @@ -45,7 +45,7 @@ typedef unsigned char u8; # define BSWAP4(x) ({ u32 ret=(x); \ asm ("bswapl %0" \ : "+r"(ret)); ret; }) -# elif (defined(__i386) || defined(__i386__)) +# elif (defined(__i386) || defined(__i386__)) && !defined(I386_ONLY) # define BSWAP8(x) ({ u32 lo=(u64)(x)>>32,hi=(x); \ asm ("bswapl %0; bswapl %1" \ : "+r"(hi),"+r"(lo)); \ -- 2.40.0