diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-04-02 01:03:27 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-04-02 01:03:27 +0000 |
commit | 4ed39eedca0eaee0b0dea9ea5de7506bd3dc8842 (patch) | |
tree | b54eeb1a87ae14dc3cf1a65b1e82f3848710abbf | |
parent | 458b062d61a92d725cde9363941747a1c6d1e575 (diff) | |
download | ffmpeg-4ed39eedca0eaee0b0dea9ea5de7506bd3dc8842.tar.gz |
av_builtin_constant_p()
Originally committed as revision 22770 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavutil/attributes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/attributes.h b/libavutil/attributes.h index 0580c98468..1208bc0c72 100644 --- a/libavutil/attributes.h +++ b/libavutil/attributes.h @@ -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 */ |