diff options
author | Andy Polyakov <appro@openssl.org> | 2012-03-31 17:02:46 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2012-03-31 17:02:46 +0000 |
commit | f62f79205777086b826313d0b31a0c27238e3ff2 (patch) | |
tree | fb1389922c2b2f9d283822d8efea5ff856577901 /crypto/modes/modes_lcl.h | |
parent | 5db9645f1b31ff2b7ea0473f309040d2f06b132f (diff) | |
download | openssl-f62f79205777086b826313d0b31a0c27238e3ff2.zip openssl-f62f79205777086b826313d0b31a0c27238e3ff2.tar.gz openssl-f62f79205777086b826313d0b31a0c27238e3ff2.tar.bz2 |
modes_lcl.h: make it work on i386.
PR: 2780
Diffstat (limited to 'crypto/modes/modes_lcl.h')
-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 7a82a98..b6dc3c3 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)); \ |