Use ifndef PEDANTIC for all inline assembler.
authorUlf Möller <ulf@openssl.org>
Tue, 11 May 1999 22:14:29 +0000 (22:14 +0000)
committerUlf Möller <ulf@openssl.org>
Tue, 11 May 1999 22:14:29 +0000 (22:14 +0000)
crypto/sha/sha_locl.h

index a88a019..1d5185f 100644 (file)
 #undef Endian_Reverse32
 #if defined(WIN32)
 #define ROTATE(a,n)     _lrotl(a,n)
-#elif defined(__GNUC__)
+#elif defined(__GNUC__) && !defined(PEDANTIC)
 /* some inline assembler templates by <appro@fy.chalmers.se> */
-#if defined(__i386) && !defined(PEDANTIC)
+#if defined(__i386)
 #define ROTATE(a,n)    ({ register unsigned int ret;   \
                                asm ("roll %1,%0"       \
                                : "=r"(ret)             \