diff options
author | Andy Polyakov <appro@openssl.org> | 2012-03-31 17:03:43 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2012-03-31 17:03:43 +0000 |
commit | 7b087bf4a9fe5df50cdfe93c98938027843f8d3d (patch) | |
tree | d5c9562fa8ae375944b9ff5e0633906fb40a881a /crypto/modes | |
parent | 9df9c9d102a32e10bb9080ae62b4351e960295d0 (diff) |
modes_lcl.h: make it work on i386 [from HEAD].
PR: 2780
Diffstat (limited to 'crypto/modes')
-rw-r--r-- | crypto/modes/modes_lcl.h | 2 |
1 files changed, 1 insertions, 1 deletions
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)); \ |