diff options
Diffstat (limited to 'libavutil/internal.h')
-rw-r--r-- | libavutil/internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h index 58c5aa8696..702301612c 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 |