From 33b88f2a4ae54d5397c45e39a5326289ebdc7747 Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Thu, 19 Sep 2013 17:33:23 -0400 Subject: msvc/icl: Use __declspec(noinline) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö --- libavutil/attributes.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavutil/attributes.h') diff --git a/libavutil/attributes.h b/libavutil/attributes.h index 850a73ff7a..9f476c9ae3 100644 --- a/libavutil/attributes.h +++ b/libavutil/attributes.h @@ -42,6 +42,8 @@ #if AV_GCC_VERSION_AT_LEAST(3,1) # define av_noinline __attribute__((noinline)) +#elif defined(_MSC_VER) +# define av_noinline __declspec(noinline) #else # define av_noinline #endif -- cgit v1.2.3