Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ. Bohl <jbohl@h-quer.de>2012-06-15 01:09:52 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-06-15 05:14:07 +0400
commit0719e44b58dbc7d93db4c46b875d5aecb5c7306b (patch)
tree9819a728c3dfe478e336bb7fd7b0fc146e99b7ef /libavutil/attributes.h
parent62c2daab0d7d1fa3a5c480eab8c59bf071ddf8aa (diff)
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>
Diffstat (limited to 'libavutil/attributes.h')
-rw-r--r--libavutil/attributes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavutil/attributes.h b/libavutil/attributes.h
index 0a6fda172b..d517fdf49d 100644
--- a/libavutil/attributes.h
+++ b/libavutil/attributes.h
@@ -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))