提交 a4af39ac 编写于 作者: U Ulf Möller

Don't use inline assembler on x86 Solaris (would need a different syntax).

上级 63daa2aa
......@@ -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)
......
......@@ -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" \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册