diff options
author | Ulf Möller <ulf@openssl.org> | 1999-12-08 22:55:06 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-12-08 22:55:06 +0000 |
commit | a4af39ac4482355ffdd61fb61231a0c79b96997b (patch) | |
tree | fa4514b9ea17b665946b09a610119116ddd41883 /crypto | |
parent | 63daa2aaf40f701ef2f79419fb938290f3f149ff (diff) |
Don't use inline assembler on x86 Solaris (would need a different syntax).
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/bn/bn_div.c | 2 | ||||
-rw-r--r-- | crypto/md32_common.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bn/bn_div.c b/crypto/bn/bn_div.c index 830da87f58..36beea2296 100644 --- a/crypto/bn/bn_div.c +++ b/crypto/bn/bn_div.c @@ -207,7 +207,7 @@ int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, #if !defined(NO_ASM) && !defined(PEDANTIC) # if defined(__GNUC__) && __GNUC__>=2 -# if defined(__i386) +# if defined(__i386) && !defined(__sun) /* * There were two reasons for implementing this template: * - GNU C generates a call to a function (__udivdi3 to be exact) diff --git a/crypto/md32_common.h b/crypto/md32_common.h index 5e62d40523..e739da2121 100644 --- a/crypto/md32_common.h +++ b/crypto/md32_common.h @@ -191,7 +191,7 @@ * * <appro@fy.chalmers.se> */ -# if defined(__i386) +# if defined(__i386) && !defined(__sun) # define ROTATE(a,n) ({ register unsigned int ret; \ asm volatile ( \ "roll %1,%0" \ |