summaryrefslogtreecommitdiffstats
path: root/crypto/md32_common.h
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2001-10-14 00:57:30 +0000
committerUlf Möller <ulf@openssl.org>2001-10-14 00:57:30 +0000
commit5dd955dcd25371d20af40b4be2e067745f9c1330 (patch)
tree738562e57082a263324f851e8a3cd6fd0ba0cf0a /crypto/md32_common.h
parent56fa8e69cf1e742da8087de60152519127c79983 (diff)
openbsd-x86 macros
Submitted by: Toomas Kiisk <vix@cyber.ee>
Diffstat (limited to 'crypto/md32_common.h')
-rw-r--r--crypto/md32_common.h4
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" \