diff options
author | Ulf Möller <ulf@openssl.org> | 2001-10-14 00:57:30 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2001-10-14 00:57:30 +0000 |
commit | 5dd955dcd25371d20af40b4be2e067745f9c1330 (patch) | |
tree | 738562e57082a263324f851e8a3cd6fd0ba0cf0a /crypto/md32_common.h | |
parent | 56fa8e69cf1e742da8087de60152519127c79983 (diff) | |
download | openssl-5dd955dcd25371d20af40b4be2e067745f9c1330.tar.gz |
openbsd-x86 macros
Submitted by: Toomas Kiisk <vix@cyber.ee>
Diffstat (limited to 'crypto/md32_common.h')
-rw-r--r-- | crypto/md32_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/md32_common.h b/crypto/md32_common.h index c169c9fe5d..353d2b96ad 100644 --- a/crypto/md32_common.h +++ b/crypto/md32_common.h @@ -198,7 +198,7 @@ * * <appro@fy.chalmers.se> */ -# if defined(__i386) +# if defined(__i386) || defined(__i386__) # define ROTATE(a,n) ({ register unsigned int ret; \ asm ( \ "roll %1,%0" \ @@ -224,7 +224,7 @@ */ # if defined(__GNUC__) && __GNUC__>=2 && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM) /* some GNU C inline assembler templates by <appro@fy.chalmers.se> */ -# if defined(__i386) && !defined(I386_ONLY) +# if (defined(__i386) || defined(__i386__)) && !defined(I386_ONLY) # define BE_FETCH32(a) ({ register unsigned int l=(a);\ asm ( \ "bswapl %0" \ |