Stop compiler complaining in pedantic mode: may be a better way to do this...

This commit is contained in:
Dr. Stephen Henson 2010-05-22 00:20:42 +00:00
parent aa6d91e85b
commit 9f08866940

View File

@ -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; })