From: Andy Polyakov Date: Sat, 31 Mar 2012 17:02:46 +0000 (+0000) Subject: modes_lcl.h: make it work on i386. X-Git-Tag: master-post-reformat~1884 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=f62f79205777086b826313d0b31a0c27238e3ff2;ds=inline modes_lcl.h: make it work on i386. 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)); \