From 3c4213344c2d3ed83996ff3b7efa5558a2d6d804 Mon Sep 17 00:00:00 2001 From: Riccardo Mottola Date: Sat, 16 Dec 2017 21:43:15 +0100 Subject: [PATCH] Wrong revert! Revert "Revert "conditional check for PPC/x86" temporarily to make better pull request." This reverts commit dd8d39889cbbc6254eacce21800d6e98e730277b. --- 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_