aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/attributes.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-20 16:02:17 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-20 16:03:00 +0200
commit8377b2b6bfa3ebed6af621670409f853a86b5582 (patch)
tree2e95518b8c8b73cbf1d2ea9bd1724826fc1deafd /libavutil/attributes.h
parente1f74ad1f0102648e2db8e4fda788f47d38a94ad (diff)
parent33b88f2a4ae54d5397c45e39a5326289ebdc7747 (diff)
downloadffmpeg-8377b2b6bfa3ebed6af621670409f853a86b5582.tar.gz
Merge commit '33b88f2a4ae54d5397c45e39a5326289ebdc7747'
* commit '33b88f2a4ae54d5397c45e39a5326289ebdc7747': msvc/icl: Use __declspec(noinline) Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/attributes.h')
-rw-r--r--libavutil/attributes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/attributes.h b/libavutil/attributes.h
index 159e75d57d..0a4d50ecce 100644
--- a/libavutil/attributes.h
+++ b/libavutil/attributes.h
@@ -52,6 +52,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