aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ. Bohl <jbohl@h-quer.de>2012-06-16 00:20:18 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-17 03:46:19 +0200
commitfbed9317ff1ab463a9b9e0d896b13b908d9a9c43 (patch)
tree3164762b5ceee67fdb5bb7f048af7032718e9adf
parent137e80817d00fca7a5f6ff6d4fc672fcfe4ad501 (diff)
downloadffmpeg-fbed9317ff1ab463a9b9e0d896b13b908d9a9c43.tar.gz
enable C99-external_inline for icl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-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)