From: Dr. Stephen Henson Date: Sat, 22 May 2010 00:20:42 +0000 (+0000) Subject: Stop compiler complaining in pedantic mode: may be a better way to do this... X-Git-Tag: OpenSSL-fips-2_0-rc1~1093 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f08866940853e8098d126cc06280594ef158171;p=openssl Stop compiler complaining in pedantic mode: may be a better way to do this... --- diff --git a/crypto/engine/eng_aesni.c b/crypto/engine/eng_aesni.c index 70b2838b4e..26c2e073ff 100644 --- a/crypto/engine/eng_aesni.c +++ b/crypto/engine/eng_aesni.c @@ -115,7 +115,7 @@ void ENGINE_load_aesni (void) typedef unsigned int u32; typedef unsigned char u8; -#if defined(__GNUC__) && __GNUC__>=2 +#if defined(__GNUC__) && __GNUC__>=2 && !defined(PEDANTIC) # define BSWAP4(x) ({ u32 ret=(x); \ asm volatile ("bswapl %0" \ : "+r"(ret)); ret; })