]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/attributes.h
x86/intmath: fix type of FASTDIV
[ffmpeg] / libavutil / attributes.h
index 0a6fda172bebd18eba98c83f8ca8fa7152c363df..75d0cec8f18b635504845e3c48da7424fc4a376e 100644 (file)
 #endif
 #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)
 #    define av_noreturn __attribute__((noreturn))
 #endif
 #endif
 
+#ifndef av_restrict
+#define av_restrict restrict
+#endif
+
 #ifndef av_const
 #if AV_GCC_VERSION_AT_LEAST(2,6)
 #    define av_const __attribute__((const))