aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rc5
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-12-15 05:54:56 +0000
committerRichard Levitte <levitte@openssl.org>2002-12-15 05:54:56 +0000
commit9f100cf3441a56bdb4404bf5cc9747085e2c53a0 (patch)
tree30570986b4dd44a5d878d161ff37bb3d9aef7f3e /crypto/rc5
parenta5a01e9051ad5b8fccf27f47bd61c8b843a2f687 (diff)
downloadopenssl-9f100cf3441a56bdb4404bf5cc9747085e2c53a0.tar.gz
Don't define macros in terms of asm() when __STRICT_ANSI is defined.
Diffstat (limited to 'crypto/rc5')
-rw-r--r--crypto/rc5/rc5_locl.h2
1 files changed, 1 insertions, 1 deletions
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" \