aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorAlex Smith <alex.smith@warpsharp.info>2013-09-19 17:33:23 -0400
committerMartin Storsjö <martin@martin.st>2013-09-20 14:40:06 +0300
commit33b88f2a4ae54d5397c45e39a5326289ebdc7747 (patch)
tree8edb8f6cdb913b9b22021c2e2dd579962514044b /libavutil
parent09f2581dc5edb3642858d69d9a70b67e249167e9 (diff)
downloadffmpeg-33b88f2a4ae54d5397c45e39a5326289ebdc7747.tar.gz
msvc/icl: Use __declspec(noinline)
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/attributes.h2
1 files changed, 2 insertions, 0 deletions
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