Module: libav
Branch: master
Commit: 33b88f2a4ae54d5397c45e39a5326289ebdc7747

Author:    Alex Smith <[email protected]>
Committer: Martin Storsjö <[email protected]>
Date:      Thu Sep 19 17:33:23 2013 -0400

msvc/icl: Use __declspec(noinline)

Signed-off-by: Martin Storsjö <[email protected]>

---

 libavutil/attributes.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavutil/attributes.h b/libavutil/attributes.h
index 850a73f..9f476c9 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

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to