提交 179f6b2f 编写于 作者: R Rich Salz

RT3544: Restore MWERKS for NetWare

Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 89f40f36
...@@ -154,7 +154,13 @@ int RAND_poll(void) ...@@ -154,7 +154,13 @@ int RAND_poll(void)
for( i=2; i<ENTROPY_NEEDED; i++) for( i=2; i<ENTROPY_NEEDED; i++)
{ {
#if defined(__GNUC__) && __GNUC__>=2 && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM) #ifdef __MWERKS__
asm
{
rdtsc
mov tsc, eax
}
#elif defined(__GNUC__) && __GNUC__>=2 && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM)
asm volatile("rdtsc":"=a"(tsc)::"edx"); asm volatile("rdtsc":"=a"(tsc)::"edx");
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册