From dbe5530d53e0b24fd7ddaf42fae6dee2b07574b1 Mon Sep 17 00:00:00 2001 From: Cameron Kaiser Date: Sat, 2 Dec 2017 21:11:55 -0800 Subject: [PATCH] #452: conditional define BE sanity checks in brotli --- modules/brotli/dec/port.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/brotli/dec/port.h b/modules/brotli/dec/port.h index a3abd46fa..900586fd6 100644 --- a/modules/brotli/dec/port.h +++ b/modules/brotli/dec/port.h @@ -165,11 +165,13 @@ static BROTLI_INLINE reg_t BrotliRBit(reg_t input) { X = NULL; \ } +#if !defined(__i386) && !defined(__x86_64__) #if (BROTLI_BIG_ENDIAN == 0) #error not compiling big endian #endif #if (BROTLI_64_BIT == 1) #error not compiling 32 bit #endif +#endif /* !defined(__i386) && !defined(__x86_64__) */ #endif /* BROTLI_DEC_PORT_H_ */