From 9f100cf3441a56bdb4404bf5cc9747085e2c53a0 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 15 Dec 2002 05:54:56 +0000 Subject: [PATCH] Don't define macros in terms of asm() when __STRICT_ANSI is defined. --- crypto/rc5/rc5_locl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/rc5/rc5_locl.h b/crypto/rc5/rc5_locl.h index 658190940c..d2dccce96c 100644 --- a/crypto/rc5/rc5_locl.h +++ b/crypto/rc5/rc5_locl.h @@ -149,7 +149,7 @@ #if defined(OPENSSL_SYS_WIN32) && defined(_MSC_VER) #define ROTATE_l32(a,n) _lrotl(a,n) #define ROTATE_r32(a,n) _lrotr(a,n) -#elif defined(__GNUC__) && __GNUC__>=2 && !defined(NO_ASM) && !defined(NO_INLINE_ASM) +#elif defined(__GNUC__) && __GNUC__>=2 && !defined(__STRICT_ANSI__) && !defined(NO_ASM) && !defined(NO_INLINE_ASM) # if defined(__i386) || defined(__i386__) || defined(__x86_64) || defined(__x86_64__) # define ROTATE_l32(a,n) ({ register unsigned int ret; \ asm ("roll %%cl,%0" \