Index: include/libyuv/row.h |
diff --git a/include/libyuv/row.h b/include/libyuv/row.h |
index 0754c44f48049c034a5ec4070c5f3f617ae66b09..d96b5305498a73d27714fc0c8ee38a5872f7b673 100644 |
--- a/include/libyuv/row.h |
+++ b/include/libyuv/row.h |
@@ -384,7 +384,7 @@ typedef __declspec(align(32)) int8 lvec8[32]; |
typedef __declspec(align(32)) uint16 ulvec16[16]; |
typedef __declspec(align(32)) uint32 ulvec32[8]; |
typedef __declspec(align(32)) uint8 ulvec8[32]; |
-#elif defined(__GNUC__) |
+#elif defined(__GNUC__) && !defined(__pnacl__) |
// Caveat GCC 4.2 to 4.7 have a known issue using vectors with const. |
#define SIMD_ALIGNED(var) var __attribute__((aligned(16))) |
#define SIMD_ALIGNED32(var) var __attribute__((aligned(64))) |