From: Andy Polyakov Date: Sat, 31 Mar 2012 17:03:43 +0000 (+0000) Subject: modes_lcl.h: make it work on i386 [from HEAD]. X-Git-Tag: OpenSSL_1_0_2-beta1~700 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7b087bf4a9fe5df50cdfe93c98938027843f8d3d;p=oweals%2Fopenssl.git modes_lcl.h: make it work on i386 [from HEAD]. PR: 2780 --- 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)); \