attribute_deprecated

Originally committed as revision 6033 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2006-08-20 10:42:11 +00:00
parent ed567d9c41
commit 955ab9a4d8
2 changed files with 19 additions and 11 deletions

View File

@@ -56,6 +56,14 @@
#endif
#endif
#ifndef attribute_deprecated
#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
# define attribute_deprecated __attribute__((deprecated))
#else
# define attribute_deprecated
#endif
#endif
#ifndef EMULATE_INTTYPES
# include <inttypes.h>
#else