From a4af39ac4482355ffdd61fb61231a0c79b96997b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulf=20M=C3=B6ller?= Date: Wed, 8 Dec 1999 22:55:06 +0000 Subject: [PATCH] Don't use inline assembler on x86 Solaris (would need a different syntax). --- crypto/bn/bn_div.c | 2 +- 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 @@ * * */ -# if defined(__i386) +# if defined(__i386) && !defined(__sun) # define ROTATE(a,n) ({ register unsigned int ret; \ asm volatile ( \ "roll %1,%0" \ -- 2.34.1