diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-02-10 01:24:06 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-02-10 01:24:06 +0000 |
commit | b7d3a8c13f3cb347985f39378e41f908cc885152 (patch) | |
tree | 7a256946823c96e52968b67a023d2f9d7d102fb1 /libavutil | |
parent | 949cd9783b9b6c868e360f0cd62f08d264fa13cc (diff) | |
download | ffmpeg-b7d3a8c13f3cb347985f39378e41f908cc885152.tar.gz |
Use AV_GCC_VERSION_AT_LEAST instead of complicated __GNUC__ version check.
Originally committed as revision 17114 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/common.h b/libavutil/common.h index 6887cf02f9..506c68f701 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -78,7 +78,7 @@ #endif #ifndef av_flatten -#if defined(__GNUC__) && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ > 0) +#if AV_GCC_VERSION_AT_LEAST(4,1) # define av_flatten __attribute__((flatten)) #else # define av_flatten |