__attribute__((unused)) works with gcc 2.95 too

Originally committed as revision 7421 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Luca Abeni 18 years ago
parent e5f94c2b2c
commit 40628be0ed
  1. 2
      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

Loading…
Cancel
Save