Commit 4f2c846d authored by Ronald S. Bultje's avatar Ronald S. Bultje Committed by Martin Storsjö

attributes: Add a definition of av_always_inline for MSVC

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent d3ed1c95
......@@ -35,6 +35,8 @@
#ifndef av_always_inline
#if AV_GCC_VERSION_AT_LEAST(3,1)
# define av_always_inline __attribute__((always_inline)) inline
#elif defined(_MSC_VER)
# define av_always_inline __forceinline
#else
# define av_always_inline inline
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment