Commit 40628be0 authored by Luca Abeni's avatar Luca Abeni

__attribute__((unused)) works with gcc 2.95 too

Originally committed as revision 7421 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e5f94c2b
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#endif #endif
#ifndef attribute_unused #ifndef attribute_unused
#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0) #if defined(__GNUC__)
# define attribute_unused __attribute__((unused)) # define attribute_unused __attribute__((unused))
#else #else
# define attribute_unused # define attribute_unused
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment