msvc/icl: Use __declspec(noinline)
authorAlex Smith <alex.smith@warpsharp.info>
Thu, 19 Sep 2013 21:33:23 +0000 (17:33 -0400)
committerMartin Storsjö <martin@martin.st>
Fri, 20 Sep 2013 11:40:06 +0000 (14:40 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavutil/attributes.h

index 850a73f..9f476c9 100644 (file)
@@ -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