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-16 02:20:18 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-06-17 05:46:19 +0400
commitfbed9317ff1ab463a9b9e0d896b13b908d9a9c43 (patch)
tree3164762b5ceee67fdb5bb7f048af7032718e9adf /libavutil/attributes.h
parent137e80817d00fca7a5f6ff6d4fc672fcfe4ad501 (diff)
enable C99-external_inline for icl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/attributes.h')
-rw-r--r--libavutil/attributes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/attributes.h b/libavutil/attributes.h
index 13b6e44b89..04d0cddc48 100644
--- a/libavutil/attributes.h
+++ b/libavutil/attributes.h
@@ -41,8 +41,12 @@
#endif
#ifndef av_extern_inline
+#if defined(__ICL) && __ICL >= 1210 || 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)