diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-05-30 10:58:48 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-05-30 10:58:48 +0000 |
commit | b006b26c836ddee979ccf8f231c822a787b94824 (patch) | |
tree | 0f220ad2c45d460a56171f84b4ab3564dd48a2df /libavutil | |
parent | 81a5cdde80c1b5eb78a266a9a0f16706640425f8 (diff) | |
download | ffmpeg-b006b26c836ddee979ccf8f231c822a787b94824.tar.gz |
Implement a proper configure test for AltiVec vector declaration syntax.
Originally committed as revision 13555 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/internal.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h index 8e4f81b244..35589fa4f9 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -50,11 +50,10 @@ #endif #endif -/* Use Apple-specific AltiVec syntax for vector declarations when necessary. */ -#ifdef __APPLE_CC__ -#define AVV(x...) (x) -#else +#ifdef HAVE_ALTIVEC_VECTOR_BRACES #define AVV(x...) {x} +#else +#define AVV(x...) (x) #endif #ifndef M_PI |