Skip to content
Snippets Groups Projects
Commit b7d3a8c1 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

Use AV_GCC_VERSION_AT_LEAST instead of complicated __GNUC__ version check.

Originally committed as revision 17114 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 949cd978
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
#endif #endif
#ifndef av_flatten #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)) # define av_flatten __attribute__((flatten))
#else #else
# define av_flatten # define av_flatten
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment