[FFmpeg-cvslog] enable C99-external_inline for icl
J. Bohl
git at videolan.org
Sun Jun 17 03:47:01 CEST 2012
ffmpeg | branch: master | J. Bohl <jbohl at h-quer.de> | Sat Jun 16 00:20:18 2012 +0200| [fbed9317ff1ab463a9b9e0d896b13b908d9a9c43] | committer: Michael Niedermayer
enable C99-external_inline for icl
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fbed9317ff1ab463a9b9e0d896b13b908d9a9c43
---
libavutil/attributes.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavutil/attributes.h b/libavutil/attributes.h
index 13b6e44..04d0cdd 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)
More information about the ffmpeg-cvslog
mailing list