diff options
author | Andy Polyakov <appro@openssl.org> | 1999-12-19 16:07:19 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 1999-12-19 16:07:19 +0000 |
commit | 9a1e34e5deab94717758384d76a20b39ec9ed030 (patch) | |
tree | 36a577bff8b3f476da053ccdf0ab34ae4f0874a2 /crypto/md32_common.h | |
parent | 2b6313d0da133725bd9e01f8adef320bcfeb4487 (diff) |
MacOS updates.
Diffstat (limited to 'crypto/md32_common.h')
-rw-r--r-- | crypto/md32_common.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/md32_common.h b/crypto/md32_common.h index 5e62d40523..8d9059f95a 100644 --- a/crypto/md32_common.h +++ b/crypto/md32_common.h @@ -182,7 +182,12 @@ # if defined(_MSC_VER) # define ROTATE(a,n) _lrotl(a,n) # elif defined(__MWERKS__) -# define ROTATE(a,n) __rol(a,n) +# ifdef __POWERPC__ +# defined ROTATE(a,n) __rlwinm(a,n,0,31) +# else +# define ROTATE(a,n) __rol(a,n) +# endif + B # elif defined(__GNUC__) && __GNUC__>=2 && !defined(NO_ASM) /* * Some GNU C inline assembler templates. Note that these are |