From d7bd0b3dea1739a37cbf86d1e80e66a08246707a Mon Sep 17 00:00:00 2001
From: Peter Ross <pross@xvid.org>
Date: Sat, 5 Jul 2008 08:10:47 +0000
Subject: [PATCH] Only define AltiVec vector syntax macro when AltiVec is
 enabled. patch by Peter Ross, pross xvid org

Originally committed as revision 14073 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavutil/internal.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavutil/internal.h b/libavutil/internal.h
index 35589fa4f94..8bf57061eca 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -50,11 +50,13 @@
 #endif
 #endif
 
+#ifdef HAVE_ALTIVEC
 #ifdef HAVE_ALTIVEC_VECTOR_BRACES
 #define AVV(x...) {x}
 #else
 #define AVV(x...) (x)
 #endif
+#endif
 
 #ifndef M_PI
 #define M_PI    3.14159265358979323846
-- 
GitLab