From 5aca224ecd7fcbcb39b3e302106708cd2f6f0fb9 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 12 Nov 2008 17:02:40 +0000 Subject: Reinstate camellia header fix patch. --- crypto/camellia/cmll_locl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/camellia') diff --git a/crypto/camellia/cmll_locl.h b/crypto/camellia/cmll_locl.h index 6892a62..f7af069 100644 --- a/crypto/camellia/cmll_locl.h +++ b/crypto/camellia/cmll_locl.h @@ -79,7 +79,7 @@ typedef unsigned char u8; # endif # define GETU32(p) SWAP(*((u32 *)(p))) # define PUTU32(p,v) (*((u32 *)(p)) = SWAP((v))) -#elif defined(__GNUC__) && __GNUC__>=2 && (defined(__i386) || defined(__x86_64)) +#elif defined(__GNUC__) && __GNUC__>=2 && (defined(__i386) || defined(__x86_64)) && !defined(PEDANTIC) # if defined(B_ENDIAN) /* stratus.com does it */ # define GETU32(p) (*(u32 *)(p)) # define PUTU32(p,v) (*(u32 *)(p)=(v)) -- cgit v1.1