Skip to content

Commit

Permalink
Don't define macros in terms of asm() when __STRICT_ANSI is defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
levitte committed Dec 15, 2002
1 parent a5a01e9 commit 9f100cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/rc5/rc5_locl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit 9f100cf

Please sign in to comment.