mirror of https://git.ffmpeg.org/ffmpeg.git
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
This commit is contained in:
parent
bbdfa06d43
commit
d7bd0b3dea
|
@ -50,11 +50,13 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_ALTIVEC
|
||||||
#ifdef HAVE_ALTIVEC_VECTOR_BRACES
|
#ifdef HAVE_ALTIVEC_VECTOR_BRACES
|
||||||
#define AVV(x...) {x}
|
#define AVV(x...) {x}
|
||||||
#else
|
#else
|
||||||
#define AVV(x...) (x)
|
#define AVV(x...) (x)
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef M_PI
|
#ifndef M_PI
|
||||||
#define M_PI 3.14159265358979323846
|
#define M_PI 3.14159265358979323846
|
||||||
|
|
Loading…
Reference in New Issue