summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_div.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-12-08 22:55:06 +0000
committerUlf Möller <ulf@openssl.org>1999-12-08 22:55:06 +0000
commita4af39ac4482355ffdd61fb61231a0c79b96997b (patch)
treefa4514b9ea17b665946b09a610119116ddd41883 /crypto/bn/bn_div.c
parent63daa2aaf40f701ef2f79419fb938290f3f149ff (diff)
Don't use inline assembler on x86 Solaris (would need a different syntax).
Diffstat (limited to 'crypto/bn/bn_div.c')
-rw-r--r--crypto/bn/bn_div.c2
1 files changed, 1 insertions, 1 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)