diff options
author | Rich Salz <rsalz@openssl.org> | 2014-09-24 12:18:19 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2014-09-24 18:07:29 -0400 |
commit | 92c78463720f71e47c251ffa58493e32cd793e13 (patch) | |
tree | 45b240a3c720a19f5e1767998b8c6d7d42cfb4b5 /crypto/rand/rand_nw.c | |
parent | 4aac102f75b517bdb56b1bcfd0a856052d559f6e (diff) | |
download | openssl-92c78463720f71e47c251ffa58493e32cd793e13.tar.gz |
RT3544: Remove MWERKS support
The following #ifdef tests were all removed:
__MWERKS__
MAC_OS_pre_X
MAC_OS_GUSI_SOURCE
MAC_OS_pre_X
OPENSSL_SYS_MACINTOSH_CLASSIC
OPENSSL_SYS_MACOSX_RHAPSODY
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'crypto/rand/rand_nw.c')
-rw-r--r-- | crypto/rand/rand_nw.c | 8 |
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 |