From 9a1e34e5deab94717758384d76a20b39ec9ed030 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 19 Dec 1999 16:07:19 +0000 Subject: MacOS updates. --- crypto/md32_common.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'crypto/md32_common.h') 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 -- cgit v1.2.3