new attribute "extern inline" (fixing linker error with ff_get_mb_score and ff_get_mb_score)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
J. Bohl
2012-06-14 23:09:52 +02:00
committed by Michael Niedermayer
parent 62c2daab0d
commit 0719e44b58
2 changed files with 10 additions and 2 deletions

View File

@ -40,6 +40,14 @@
#endif
#endif
#ifndef av_extern_inline
#if defined(__INTEL_COMPILER) || defined(__GNUC_STDC_INLINE__)
# define av_extern_inline extern inline
#else
# define av_extern_inline inline
#endif
#endif
#ifndef av_noreturn
#if AV_GCC_VERSION_AT_LEAST(2,5)
# define av_noreturn __attribute__((noreturn))