aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2007-01-07 11:11:49 +0000
committerLuca Abeni <lucabe72@email.it>2007-01-07 11:11:49 +0000
commit40628be0ed20d671853d5756ac3a4b296d34b21a (patch)
tree515101a0fadceca6a0b0b08b6cf5e4ded7e7622b
parente5f94c2b2cbebe07cde5ca54abf89a2974f97e5c (diff)
downloadffmpeg-40628be0ed20d671853d5756ac3a4b296d34b21a.tar.gz
__attribute__((unused)) works with gcc 2.95 too
Originally committed as revision 7421 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavutil/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h
index d498f99de6..37a51b6e16 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -35,7 +35,7 @@
#endif
#ifndef attribute_unused
-#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
+#if defined(__GNUC__)
# define attribute_unused __attribute__((unused))
#else
# define attribute_unused