Commit cb1ceb26 authored by diego's avatar diego

Only define AltiVec vector syntax macro when AltiVec is enabled.

patch by Peter Ross, pross xvid org


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14073 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 392aa495
...@@ -50,11 +50,13 @@ ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment