aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rand/rand_nw.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rand/rand_nw.c')
-rw-r--r--crypto/rand/rand_nw.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/crypto/rand/rand_nw.c b/crypto/rand/rand_nw.c
index 17c1ea71db..9239a72dae 100644
--- a/crypto/rand/rand_nw.c
+++ b/crypto/rand/rand_nw.c
@@ -154,13 +154,7 @@ int RAND_poll(void)
for( i=2; i<ENTROPY_NEEDED; i++)
{
-#ifdef __MWERKS__
- asm
- {
- rdtsc
- mov tsc, eax
- }
-#elif defined(__GNUC__) && __GNUC__>=2 && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM)
+#if defined(__GNUC__) && __GNUC__>=2 && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM)
asm volatile("rdtsc":"=a"(tsc)::"edx");
#endif