attributes: Add a definition of av_always_inline for MSVC

Signed-off-by: Martin Storsjö <martin@martin.st>
pull/59/head
Ronald S. Bultje 13 years ago committed by Martin Storsjö
parent d3ed1c9571
commit 4f2c846d96
  1. 2
      libavutil/attributes.h

@ -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

Loading…
Cancel
Save