Only define AltiVec vector syntax macro when AltiVec is enabled.
authorPeter Ross <pross@xvid.org>
Sat, 5 Jul 2008 08:10:47 +0000 (08:10 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 5 Jul 2008 08:10:47 +0000 (08:10 +0000)
patch by Peter Ross, pross xvid org

Originally committed as revision 14073 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/internal.h

index 35589fa..8bf5706 100644 (file)
 #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