diff options
author | J. Bohl <jbohl@h-quer.de> | 2012-06-16 00:20:18 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-17 03:46:19 +0200 |
commit | fbed9317ff1ab463a9b9e0d896b13b908d9a9c43 (patch) | |
tree | 3164762b5ceee67fdb5bb7f048af7032718e9adf | |
parent | 137e80817d00fca7a5f6ff6d4fc672fcfe4ad501 (diff) | |
download | ffmpeg-fbed9317ff1ab463a9b9e0d896b13b908d9a9c43.tar.gz |
enable C99-external_inline for icl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavutil/attributes.h | 4 |
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) |