Don't define macros in terms of asm() when __STRICT_ANSI is defined.
authorRichard Levitte <levitte@openssl.org>
Sun, 15 Dec 2002 05:54:56 +0000 (05:54 +0000)
committerRichard Levitte <levitte@openssl.org>
Sun, 15 Dec 2002 05:54:56 +0000 (05:54 +0000)
crypto/rc5/rc5_locl.h

index 658190940c91d7c8a6df05aea832890c310d0ed3..d2dccce96c13d2412e2d9a68b092a53685f468d9 100644 (file)
 #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"     \