From 991d9c72a8439716acaec4440805d21d3670b58f Mon Sep 17 00:00:00 2001 From: Riccardo Mottola Date: Tue, 12 Dec 2017 15:29:21 +0100 Subject: [PATCH] conditional check for PPC/x86 --- modules/woff2/src/port.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/woff2/src/port.h b/modules/woff2/src/port.h index fcecbe775..4e3a87270 100644 --- a/modules/woff2/src/port.h +++ b/modules/woff2/src/port.h @@ -72,8 +72,10 @@ inline int Log2Floor(uint32 n) { #endif /* endianness */ #endif /* CPU whitelist */ +#if !defined(__i386) && !defined(__x86_64__) #ifndef WOFF_BIG_ENDIAN #error unexpected endianness #endif +#endif /* !defined(__i386) && !defined(__x86_64__) */ #endif // WOFF2_PORT_H_