# HG changeset patch # User michael # Date 1270170207 0 # Node ID 6ea86beeedb2208eda1a1176879eee2ae971bc9c # Parent 6be1c118d9d68264d1b34cb3a395248e42040f05 av_builtin_constant_p() diff -r 6be1c118d9d6 -r 6ea86beeedb2 attributes.h --- a/attributes.h Tue Mar 30 23:31:16 2010 +0000 +++ b/attributes.h Fri Apr 02 01:03:27 2010 +0000 @@ -104,4 +104,10 @@ #endif #endif +#ifdef __GNUC__ +# define av_builtin_constant_p __builtin_constant_p +#else +# define av_builtin_constant_p(x) 0 +#endif + #endif /* AVUTIL_ATTRIBUTES_H */