From 8008a04325236d6b6e0b3ae1c9c2a28c68668696 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 24 Aug 2007 15:04:00 +0000 Subject: Move Apple gcc AltiVec vector declaration syntax to libavutil. Originally committed as revision 10207 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/internal.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libavutil') diff --git a/libavutil/internal.h b/libavutil/internal.h index 58c5aa8..7023016 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -50,6 +50,13 @@ #endif #endif +/* Use Apple-specific AltiVec syntax for vector declarations when necessary. */ +#ifdef __APPLE_CC__ +#define AVV(x...) (x) +#else +#define AVV(x...) {x} +#endif + #ifndef M_PI #define M_PI 3.14159265358979323846 #endif -- cgit v1.1