comparison internal.h @ 379:b46114384907 libavutil

Move Apple gcc AltiVec vector declaration syntax to libavutil.
author diego
date Fri, 24 Aug 2007 15:04:00 +0000
parents 5a85ad617615
children 73c02f847f2b
comparison
equal deleted inserted replaced
378:5a85ad617615 379:b46114384907
46 #if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0) 46 #if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
47 # define attribute_used __attribute__((used)) 47 # define attribute_used __attribute__((used))
48 #else 48 #else
49 # define attribute_used 49 # define attribute_used
50 #endif 50 #endif
51 #endif
52
53 /* Use Apple-specific AltiVec syntax for vector declarations when necessary. */
54 #ifdef __APPLE_CC__
55 #define AVV(x...) (x)
56 #else
57 #define AVV(x...) {x}
51 #endif 58 #endif
52 59
53 #ifndef M_PI 60 #ifndef M_PI
54 #define M_PI 3.14159265358979323846 61 #define M_PI 3.14159265358979323846
55 #endif 62 #endif